Rename slaves to Slaves now that it's extern.

This commit is contained in:
László Monda
2017-06-01 11:01:49 +02:00
parent d0678bbb51
commit f8883e416d
3 changed files with 8 additions and 8 deletions

View File

@@ -73,7 +73,7 @@ void LedSlaveDriver_Update(uint8_t ledDriverId) {
switch (*ledDriverPhase) {
case LedDriverPhase_SetFunctionFrame:
if (!slaves[SlaveId_LeftKeyboardHalf].isConnected) {
if (!Slaves[SlaveId_LeftKeyboardHalf].isConnected) {
break;
}
I2cAsyncWrite(ledDriverAddress, setFunctionFrameBuffer, sizeof(setFunctionFrameBuffer));