diff options
Diffstat (limited to 'device-functions.c')
-rw-r--r-- | device-functions.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/device-functions.c b/device-functions.c index 0800acf..a9fc638 100644 --- a/device-functions.c +++ b/device-functions.c @@ -4543,6 +4543,12 @@ void Main_update_shift_registers() /* save relay data for comparision next time */ globals.Registers.last_relay_driver_settings[0]=globals.Registers.shift_reg_out[2]; globals.Registers.last_relay_driver_settings[1]=globals.Registers.shift_reg_out[3]; + + // reset update sensors + globals.Changes.update_os = 0; + globals.Changes.update_amp = 0; + globals.Changes.update_zout = 0; + globals.Changes.update_load = 0; } |