diff options
author | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-08-30 11:39:08 -0400 |
---|---|---|
committer | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-08-30 11:39:08 -0400 |
commit | 28d2cf9fc388d375a5ee6eef4f9e4d42e0fdc41a (patch) | |
tree | 150b49ece3c844a4ef4a2be1a23594435ad2d34e /monitor.c | |
parent | d6c71646ddc4a34293bb5cadde78a30806d8eace (diff) |
astyle fixes
Diffstat (limited to 'monitor.c')
-rw-r--r-- | monitor.c | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -230,12 +230,11 @@ int I2C_Check_Monitors(void) (globals.ChannelState[channel].Curr_Mon_value > globals.ChannelState[channel].soft_current_limit)) { Set_Output_State(channel,output_off); queue_and_broadcast_sensor_alarm(Soft_Limit_Exceeded); - } - else if (globals.MenuStatus.Type_Of_Menu==Main_Menu_On && - !globals.MenuStatus.Error_Screen && - !globals.MenuStatus.Nonstd_Display && - globals.ChannelState[channel].Curr_Mon_value!=globals.ChannelState[channel].displayed_mon_val && - (seconds_since_last > 0)) + } else if (globals.MenuStatus.Type_Of_Menu==Main_Menu_On && + !globals.MenuStatus.Error_Screen && + !globals.MenuStatus.Nonstd_Display && + globals.ChannelState[channel].Curr_Mon_value!=globals.ChannelState[channel].displayed_mon_val && + (seconds_since_last > 0)) /* only update display once a second */ { ++update_display; |