summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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");