oh god the bugs, they are everywhere, I feel so dirty...

This commit is contained in:
Gareth Coleman
2024-04-19 00:28:20 +01:00
parent 0ae7674982
commit eea85d26ca
3 changed files with 10 additions and 8 deletions

View File

@@ -268,7 +268,7 @@ void ExternalNotificationModule::setExternalOn(uint8_t index)
analogWrite(RGBLED_RED, 255 - red);
analogWrite(RGBLED_GREEN, 255 - green);
analogWrite(RGBLED_BLUE, 255 - blue);
#elifdef RGBLED_RED
#elif defined(RGBLED_RED)
analogWrite(RGBLED_RED, red);
analogWrite(RGBLED_GREEN, green);
analogWrite(RGBLED_BLUE, blue);
@@ -322,7 +322,7 @@ void ExternalNotificationModule::setExternalOff(uint8_t index)
analogWrite(RGBLED_RED, 255 - red);
analogWrite(RGBLED_GREEN, 255 - green);
analogWrite(RGBLED_BLUE, 255 - blue);
#elifdef RGBLED_RED
#elif defined(RGBLED_RED)
red = 0;
green = 0;
blue = 0;