feat(radio): sticky LS bold when set, color LS list display bold like BW (#5357)

This commit is contained in:
philmoz
2024-08-01 19:45:26 +10:00
committed by GitHub
parent 23df4f63bb
commit 2f8618803b
5 changed files with 51 additions and 6 deletions
+5
View File
@@ -490,6 +490,11 @@ PACK(typedef struct {
uint16_t duration:15;
}) ls_stay_struct;
bool getLSStickyState(uint8_t idx)
{
return lswFm[mixerCurrentFlightMode].lsw[idx].lastValue & 1;
}
void logicalSwitchesInit(bool force)
{
for (unsigned int idx=0; idx<MAX_LOGICAL_SWITCHES; idx++) {