summaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2012-08-30 11:39:08 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2012-08-30 11:39:08 -0400
commit28d2cf9fc388d375a5ee6eef4f9e4d42e0fdc41a (patch)
tree150b49ece3c844a4ef4a2be1a23594435ad2d34e /monitor.c
parentd6c71646ddc4a34293bb5cadde78a30806d8eace (diff)
astyle fixes
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/monitor.c b/monitor.c
index 0275bf4..ecbc3bb 100644
--- a/monitor.c
+++ b/monitor.c
@@ -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;