Only delay the initialization of the left LED driver until the KL03 pulls up its SDB.
This commit is contained in:
@@ -76,7 +76,7 @@ void LedSlaveDriver_Update(uint8_t ledDriverId) {
|
||||
|
||||
switch (*ledDriverPhase) {
|
||||
case LedDriverPhase_SetFunctionFrame:
|
||||
if (!Slaves[SlaveId_LeftKeyboardHalf].isConnected) {
|
||||
if (ledDriverId == LedDriverId_Left && !Slaves[SlaveId_LeftKeyboardHalf].isConnected) {
|
||||
break;
|
||||
}
|
||||
I2cAsyncWrite(ledDriverAddress, setFunctionFrameBuffer, sizeof(setFunctionFrameBuffer));
|
||||
|
||||
Reference in New Issue
Block a user