summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2012-08-24 13:45:28 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2012-08-24 13:45:28 -0400
commit37715d8b1b2a6465f1bb8232df8ae9c73efc743b (patch)
tree75f644727f55decf155b4e78d781d567c8ac274c
parent447332845f9a600f799cd45ab3eb61b306317118 (diff)
initialize globals.Registers.last_relay_driver_settings[] to -1
-rw-r--r--globals.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/globals.c b/globals.c
index 636c535..88bf547 100644
--- a/globals.c
+++ b/globals.c
@@ -6,7 +6,12 @@ GlobalStruct globals = {
.Flags.do_check_settings = 1,
.DefaultFlags.do_check_settings = 1,
- .Registers.last_rise_time_relay_setting = 99
+ .Registers.last_rise_time_relay_setting = 99,
+
+ .Registers.last_relay_driver_settings[0] = -1,
+ .Registers.last_relay_driver_settings[1] = -1,
+ .Registers.last_relay_driver_settings[2] = -1
+
};