fix(simu): move fsLedXX to simu led driver (#6557)

This commit is contained in:
Raphael Coeffic
2025-08-30 10:09:18 +10:00
committed by GitHub
parent 0f69f1d409
commit cc154493b5
3 changed files with 10 additions and 18 deletions
+10
View File
@@ -83,3 +83,13 @@ uint32_t fsGetLedRGB(uint8_t index)
{
return rgbGetLedColor(index);
}
void fsLedOn(uint8_t idx)
{
rgbSetLedColor(idx, 0xFF, 0xFF, 0xFF);
}
void fsLedOff(uint8_t idx)
{
rgbSetLedColor(idx, 0, 0, 0);
}
@@ -91,16 +91,6 @@ void firmwareTraceCb(const char * text)
}
}
void fsLedOn(uint8_t idx)
{
rgbSetLedColor(idx, 0xFF, 0xFF, 0xFF);
}
void fsLedOff(uint8_t idx)
{
rgbSetLedColor(idx, 0, 0, 0);
}
// Serial port handling needs to know about OpenTxSimulator, so we we
// need to update what's in simpgmspace.cpp when we have a simulator
// to point at.
-8
View File
@@ -129,14 +129,6 @@ uint16_t simu_get_analog(uint8_t idx)
void simuQueueAudio(const uint8_t*, uint32_t) {}
void fsLedOn(uint8_t idx)
{
}
void fsLedOff(uint8_t idx)
{
}
static char _stringResult[200];
const char * nchar2string(const char * string, int size)