Index: firmware/App/Controllers/Switches.c =================================================================== diff -u -rb8a36ae9692adf58ae92ff1093f7be2eda9397d8 -r2e71ad5c3af03ed6767a80c4e9d1ee25e4baf817 --- firmware/App/Controllers/Switches.c (.../Switches.c) (revision b8a36ae9692adf58ae92ff1093f7be2eda9397d8) +++ firmware/App/Controllers/Switches.c (.../Switches.c) (revision 2e71ad5c3af03ed6767a80c4e9d1ee25e4baf817) @@ -115,12 +115,12 @@ // If the debounce time has been elapsed, update the switch status to the new status else if ( TRUE == didTimeout( switchesStatus[ i ].debounceStartTime, SWITCHES_DEBOUNCE_TIME_MS ) ) { - if (CONCENTRATE_CAP == i) + if ( CONCENTRATE_CAP == i ) { SEND_EVENT_WITH_2_U32_DATA( DG_EVENT_CONCENTRATE_CAP_SWITCH_CHANGE, (U32)switchesStatus[ i ].status.data, (U32)currentSwitchStatus ); } - else if (DIALYSATE_CAP == i) + else if ( DIALYSATE_CAP == i ) { SEND_EVENT_WITH_2_U32_DATA( DG_EVENT_DIALYSATE_CAP_SWITCH_CHANGE, (U32)switchesStatus[ i ].status.data, (U32)currentSwitchStatus );