summaryrefslogtreecommitdiff
path: root/device-functions.c
diff options
context:
space:
mode:
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();
}