Fix missing column on xlite
This commit is contained in:
@@ -148,7 +148,11 @@ enum MenuModelSetupItems {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CPUARM)
|
#if defined(CPUARM)
|
||||||
|
#if defined(PCBXLITE)
|
||||||
|
#define SW_WARN_ROWS uint8_t(NAVIGATION_LINE_BY_LINE|getSwitchWarningsCount()), uint8_t(getSwitchWarningsCount() > 5 ? TITLE_ROW : HIDDEN_ROW) //xlite needs an additional column for full line selection (<])
|
||||||
|
#else
|
||||||
#define SW_WARN_ROWS uint8_t(NAVIGATION_LINE_BY_LINE|(getSwitchWarningsCount()-1)), uint8_t(getSwitchWarningsCount() > 5 ? TITLE_ROW : HIDDEN_ROW)
|
#define SW_WARN_ROWS uint8_t(NAVIGATION_LINE_BY_LINE|(getSwitchWarningsCount()-1)), uint8_t(getSwitchWarningsCount() > 5 ? TITLE_ROW : HIDDEN_ROW)
|
||||||
|
#endif
|
||||||
#if !defined(TARANIS_INTERNAL_PPM)
|
#if !defined(TARANIS_INTERNAL_PPM)
|
||||||
#define INTERNAL_MODULE_MODE_ROWS 0 // (OFF / RF protocols)
|
#define INTERNAL_MODULE_MODE_ROWS 0 // (OFF / RF protocols)
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user