Index: firmware/App/Controllers/Switches.c =================================================================== diff -u -r852597f3be2578331b0b947b38969b3c9553f889 -rf43eb0d0f168ea14b846d0c24f0ad0cb30784d3f --- firmware/App/Controllers/Switches.c (.../Switches.c) (revision 852597f3be2578331b0b947b38969b3c9553f889) +++ firmware/App/Controllers/Switches.c (.../Switches.c) (revision f43eb0d0f168ea14b846d0c24f0ad0cb30784d3f) @@ -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 );