feat(color): Single select option for model labels. label AND/OR filtering logic (#4532)

This commit is contained in:
philmoz
2024-01-26 21:15:32 +10:00
committed by GitHub
parent 63bb205e6b
commit 2c01bee40d
32 changed files with 343 additions and 56 deletions
+6
View File
@@ -972,6 +972,12 @@ PACK(struct RadioData {
NOBACKUP(uint8_t modelCustomScriptsDisabled:1);
NOBACKUP(uint8_t modelTelemetryDisabled:1);
#if defined(COLORLCD)
uint8_t labelSingleSelect:1; // 0 = multi-select, 1 = single select labels
uint8_t labelMultiMode:1; // 0 = match all labels (AND), 1 = match any labels (OR)
uint8_t favMultiMode:1; // 0 = match all (AND), 1 = match any (OR)
#endif
NOBACKUP(uint8_t getBrightness() const
{
#if defined(OLED_SCREEN)