summaryrefslogtreecommitdiff
path: root/device-functions.c
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2012-08-24 13:09:48 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2012-08-24 13:09:48 -0400
commit6289747b35eef38cca5d5d3076b4ec6d33f9053f (patch)
tree12b1a38708e4d5e15e8712e4e469eb626a925692 /device-functions.c
parentbadac819cb07b684197295f2b516a023a4725a62 (diff)
set flags to default values upon reset
Diffstat (limited to 'device-functions.c')
-rw-r--r--device-functions.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/device-functions.c b/device-functions.c
index 338fce7..f2d7aec 100644
--- a/device-functions.c
+++ b/device-functions.c
@@ -123,7 +123,8 @@ void Main_Rst (void)
globals.Timers.normal_relay_bounce_time_in_milliseconds=1.0e3 * globals.Flash.relay_delay_in_sec;
globals.Timers.Relay_Switching_Delay_in_Milliseconds=globals.Timers.normal_relay_bounce_time_in_milliseconds;
- // FIXME - check which misc globals should be reset here!
+ // reset all transient flags
+ globals.Flags = globals.DefaultFlags;
Menu_Clear_Buttons();
}