feat(simu): add support for (RGB!!) customisable switches (#6129)

This commit is contained in:
Malte Langermann
2025-04-24 09:30:30 +10:00
committed by GitHub
parent e98d679317
commit 2a21636e70
3 changed files with 59 additions and 6 deletions
+3 -3
View File
@@ -28,9 +28,9 @@ void ledRed() {}
void ledGreen() {}
void ledBlue() {}
void ledOff() {}
void fsLedOn(uint8_t) {}
void fsLedOff(uint8_t) {}
void fsLedRGB(uint8_t, uint32_t) {}
__attribute__((weak)) void fsLedOn(uint8_t) {}
__attribute__((weak)) void fsLedOff(uint8_t) {}
__attribute__((weak)) void fsLedRGB(uint8_t, uint32_t) {}
bool fsLedState(uint8_t) { return false;}
void rgbSetLedColor(unsigned char, unsigned char, unsigned char, unsigned char) {}
void rgbLedColorApply() {}