summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root@fedora-arm.domain.avtechpulse.com>1999-12-31 19:35:40 -0500
committerroot <root@fedora-arm.domain.avtechpulse.com>1999-12-31 19:35:40 -0500
commit56c2fb769043157a4725849fdcad1c3b61132c95 (patch)
tree9d3bf274bd09755aee16cb708dd580a1dd4cad19
parent84febce7ae7e32320a108c427cb2625559ea1598 (diff)
add outline for startup delay
-rw-r--r--flash.c2
-rw-r--r--instr-daemon.c11
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");