fix(simu): move fsLedXX to simu led driver (#6557)
This commit is contained in:
@@ -83,3 +83,13 @@ uint32_t fsGetLedRGB(uint8_t index)
|
|||||||
{
|
{
|
||||||
return rgbGetLedColor(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
|
// Serial port handling needs to know about OpenTxSimulator, so we we
|
||||||
// need to update what's in simpgmspace.cpp when we have a simulator
|
// need to update what's in simpgmspace.cpp when we have a simulator
|
||||||
// to point at.
|
// to point at.
|
||||||
|
|||||||
@@ -129,14 +129,6 @@ uint16_t simu_get_analog(uint8_t idx)
|
|||||||
|
|
||||||
void simuQueueAudio(const uint8_t*, uint32_t) {}
|
void simuQueueAudio(const uint8_t*, uint32_t) {}
|
||||||
|
|
||||||
void fsLedOn(uint8_t idx)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
void fsLedOff(uint8_t idx)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
static char _stringResult[200];
|
static char _stringResult[200];
|
||||||
|
|
||||||
const char * nchar2string(const char * string, int size)
|
const char * nchar2string(const char * string, int size)
|
||||||
|
|||||||
Reference in New Issue
Block a user