fix(radio): Better iteration through mixers on display, sanitize invalid sources (#3999)

* fix: mixer lines with empty source

Fixes #3367

* Fix color mixes display.

---------

Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
This commit is contained in:
Raphael Coeffic
2023-09-24 15:51:18 +10:00
committed by GitHub
co-authored by Phil Mitchell
parent c502dbeaee
commit 47ff7284fd
19 changed files with 248 additions and 259 deletions
-5
View File
@@ -215,11 +215,6 @@ ExpoData *expoAddress(uint8_t idx )
return &g_model.expoData[idx];
}
MixData *mixAddress(uint8_t idx)
{
return &g_model.mixData[idx];
}
LimitData *limitAddress(uint8_t idx)
{
return &g_model.limitData[idx];