Index: firmware/App/Controllers/Switches.c =================================================================== diff -u -rdb291cc22fd8f10e6e47cad468e14ed5590a94f2 -r747c714d2b4f80b598a66326d62a179aeefda390 --- firmware/App/Controllers/Switches.c (.../Switches.c) (revision db291cc22fd8f10e6e47cad468e14ed5590a94f2) +++ firmware/App/Controllers/Switches.c (.../Switches.c) (revision 747c714d2b4f80b598a66326d62a179aeefda390) @@ -137,17 +137,6 @@ // 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 ( FRONT_DOOR == i ) - { - // Log front door switch change - sendTreatmentLogEventData( FRONT_DOOR_SWITCH_CHANGED_EVENT, (F32)switchesStatus[ i ].status.data, (F32)currentSwitchStatus ); - } - // removed explicit check due to VectorCast coverage - else - { - // Log pump track switch change - sendTreatmentLogEventData( PUMP_TRACK_SWITCH_CHANGED_EVENT, (F32)switchesStatus[ i ].status.data, (F32)currentSwitchStatus ); - } // If the bit is 0, the door switch is open, because it is normally open switch switchesStatus[ i ].debounceStartTime = 0; switchesStatus[ i ].status.data = currentSwitchStatus;