diff options
Diffstat (limited to 'instr-daemon.c')
-rw-r--r-- | instr-daemon.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/instr-daemon.c b/instr-daemon.c index 4d65a54..b64a94e 100644 --- a/instr-daemon.c +++ b/instr-daemon.c @@ -246,9 +246,9 @@ int main(int argc, char **argv) if (on_delay < MIN_STARTUP_DELAY) { on_delay = MIN_STARTUP_DELAY; } - if (on_delay > MAX_STARTUP_DELAY) { - on_delay = MAX_STARTUP_DELAY; - } + if (on_delay > MAX_STARTUP_DELAY) { + on_delay = MAX_STARTUP_DELAY; + } while ((timer_count=sec_timer()-globals.Timers.startup_timer_value) < on_delay) { message = g_strdup_printf ("%ld ", on_delay - timer_count); @@ -352,7 +352,7 @@ static gboolean periodic_poll (void) Menu_Check_Buttons (); - int i; + int i; for (i=0; i<max_channels; i++) { if (globals.Flash.monitor_enabled[i]) { I2C_Check_Monitors(); |