From 56c2fb769043157a4725849fdcad1c3b61132c95 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 31 Dec 1999 19:35:40 -0500 Subject: add outline for startup delay --- flash.c | 2 +- instr-daemon.c | 11 ++++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/flash.c b/flash.c index f358ee2..391d781 100644 --- a/flash.c +++ b/flash.c @@ -317,7 +317,7 @@ static void initFlashValues(FlashStruct *mem) base_number=11; mem->flash_start=1; - mem->turn_on_dly=2; + mem->turn_on_dly=5 mem->logic_level_enabled=0; mem->ChanKey_logic_level=0; diff --git a/instr-daemon.c b/instr-daemon.c index a84dda8..fc96d73 100644 --- a/instr-daemon.c +++ b/instr-daemon.c @@ -252,11 +252,16 @@ int main(int argc, char **argv) g_free (message); } - + /* FIXME - start-up delay here */ /* start-up delay */ LCD_write(3,0,"Warming up, please wait... "); - int max_timer = (long) globals.Flash.turn_on_dly; - /* FIXME - start-up delay here */ + // delay by globals.Flash.turn_on_dly seconds + // while (not delayed enough) { + // message = g_strdup_printf ("%d", remaining seconds); + // LCD_write(3,27,message); + // g_free (message); + // sleep (?); + } LCD_write(3,27,"OK"); -- cgit