Remove LED_DRIVERS_ENABLED.

This commit is contained in:
László Monda
2018-04-28 11:43:01 +02:00
parent 9d66f5ff76
commit c2582729f2
6 changed files with 2 additions and 15 deletions

View File

@@ -265,10 +265,8 @@ status_t UhkModuleSlaveDriver_Update(uint8_t uhkModuleDriverId)
void UhkModuleSlaveDriver_Disconnect(uint8_t uhkModuleDriverId)
{
#ifdef LED_DRIVERS_ENABLED
if (uhkModuleDriverId == SlaveId_LeftKeyboardHalf) {
Slaves[SlaveId_LeftLedDriver].isConnected = false;
}
UhkModuleStates[uhkModuleDriverId].moduleId = 0;
#endif
}