From dca99112185bdb2065821e924a70e83a4fb4100b Mon Sep 17 00:00:00 2001 From: Erwan Velu Date: Tue, 29 May 2012 22:32:14 +0200 Subject: [PATCH] hdt: Removing builting sleep support in say If people want to sleep while saying message, they now have to use the sleep command instead of the previous specific %x syntax. --- com32/hdt/floppy/hdt.cfg | 2 +- com32/hdt/hdt-cli-hdt.c | 18 ------------------ 2 files changed, 1 insertion(+), 19 deletions(-) diff --git a/com32/hdt/floppy/hdt.cfg b/com32/hdt/floppy/hdt.cfg index a5afd60..7cfe6a7 100644 --- a/com32/hdt/floppy/hdt.cfg +++ b/com32/hdt/floppy/hdt.cfg @@ -93,7 +93,7 @@ TEXT HELP VESA mode is enabled ENDTEXT COM32 hdt.c32 -APPEND modules_pcimap=modules.pcimap modules_alias=modules.alias pciids=pci.ids quiet vesa nomenu auto='show memory;say `########`;say `Starting memtest in 5 sec`%5;exit' postexec='memtest' +APPEND modules_pcimap=modules.pcimap modules_alias=modules.alias pciids=pci.ids quiet vesa nomenu auto='show memory;say `########`;say `Starting memtest in 5 sec`;sleep 5;exit' postexec='memtest' LABEL display MENU LABEL Display feature (VESA mode) diff --git a/com32/hdt/hdt-cli-hdt.c b/com32/hdt/hdt-cli-hdt.c index 70cd049..3af6770 100644 --- a/com32/hdt/hdt-cli-hdt.c +++ b/com32/hdt/hdt-cli-hdt.c @@ -294,7 +294,6 @@ static void do_say(int argc , char **argv , char text_to_say[255]={0}; int arg=0; - int sleep_time=0; #if DEBUG for (int i=0; i