Disable LED display icons by default.

This commit is contained in:
László Monda
2017-12-10 15:35:03 +01:00
parent 0d6a5ae902
commit 5a449ad5c5

View File

@@ -71,7 +71,13 @@ void LedSlaveDriver_Init(uint8_t ledDriverId)
currentLedDriverState->phase = LedDriverPhase_SetFunctionFrame;
currentLedDriverState->ledIndex = 0;
memset(LedDriverValues[ledDriverId], LED_BRIGHTNESS_LEVEL, LED_DRIVER_LED_COUNT);
if (ledDriverId == LedDriverId_Left) {
LedDisplay_SetIcon(LedDisplayIcon_CapsLock, false);
LedDisplay_SetIcon(LedDisplayIcon_Agent, false);
LedDisplay_SetIcon(LedDisplayIcon_Adaptive, false);
LedDisplay_SetCurrentKeymapText();
}
}
status_t LedSlaveDriver_Update(uint8_t ledDriverId)