Index: firmware/App/Controllers/Switches.c =================================================================== diff -u -rce619800f4315d7e7fb07da21f10f4f6bad229fc -r5fb0cfdde0e308edfa027fc10981655c329abf4a --- firmware/App/Controllers/Switches.c (.../Switches.c) (revision ce619800f4315d7e7fb07da21f10f4f6bad229fc) +++ firmware/App/Controllers/Switches.c (.../Switches.c) (revision 5fb0cfdde0e308edfa027fc10981655c329abf4a) @@ -8,7 +8,7 @@ * @file Switches.c * * @author (last) Dara Navaei -* @date (last) 22-Feb-2022 +* @date (last) 25-May-2022 * * @author (original) Dara Navaei * @date (original) 24-Jul-2021 @@ -85,7 +85,6 @@ void execSwitches( void ) { U08 i; - U08 currentSwitchStatus = 0; for ( i = 0; i < NUM_OF_CAPS; i++ ) @@ -147,7 +146,7 @@ * @param switchId which is the switch that its status is requested * @return switch status *************************************************************************/ -OPN_CLS_STATE_T getSwitchStatus( SWITCH_T switchId ) +OPN_CLS_STATE_T getSwitchStatus( CAP_T switchId ) { U32 status = 0;