Uncomment guard clause
This commit is contained in:
@@ -126,9 +126,9 @@ status_t LedSlaveDriver_Update(uint8_t ledDriverId)
|
|||||||
|
|
||||||
switch (currentLedDriverState->phase) {
|
switch (currentLedDriverState->phase) {
|
||||||
case LedDriverPhase_SetFunctionFrameInit:
|
case LedDriverPhase_SetFunctionFrameInit:
|
||||||
// if (ledDriverId == LedDriverId_Left && !Slaves[SlaveId_LeftKeyboardHalf].isConnected) {
|
if (ledDriverId == LedDriverId_Left && !Slaves[SlaveId_LeftKeyboardHalf].isConnected) {
|
||||||
// break;
|
break;
|
||||||
// }
|
}
|
||||||
status = I2cAsyncWrite(ledDriverAddress, setFunctionFrameBuffer, sizeof(setFunctionFrameBuffer));
|
status = I2cAsyncWrite(ledDriverAddress, setFunctionFrameBuffer, sizeof(setFunctionFrameBuffer));
|
||||||
currentLedDriverState->phase = LedDriverPhase_SetShutdownModeNormalInit;
|
currentLedDriverState->phase = LedDriverPhase_SetShutdownModeNormalInit;
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user