Skip to content

Commit

Permalink
chore: handle default case to raise code coverage (SPLE-924)
Browse files Browse the repository at this point in the history
  • Loading branch information
xxthunder committed Oct 2, 2024
1 parent 9f40ea8 commit 0bcbc15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/light_controller/src/light_controller.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ void lightController(void) {
}
break;

case LIGHT_ON:
default: // LIGHT_ON
if (powerState == POWER_STATE_OFF) {
turnLightOff();
currentLightState = LIGHT_OFF;
Expand Down

0 comments on commit 0bcbc15

Please sign in to comment.