Convert LAYER_ID_* macros to LayerId_* enum values.

This commit is contained in:
László Monda
2017-11-02 21:48:30 +01:00
parent 00dfd96d55
commit 2aaef66d85
5 changed files with 26 additions and 20 deletions

View File

@@ -83,7 +83,7 @@ void LedDisplay_SetLayer(uint8_t layerId) {
LedDriverValues[LedDriverId_Left][i] = 0;
}
if (layerId >= LAYER_ID_MOD && layerId <= LAYER_ID_MOUSE) {
if (layerId >= LayerId_Mod && layerId <= LayerId_Mouse) {
LedDriverValues[LedDriverId_Left][16 * layerId - 3] = LED_BRIGHTNESS_LEVEL;
}
}