fix: TPro FS showing in global funcs and MPM protocol list updates (#1705)
* Init contrast earlier for 128 B&W screens https://github.com/opentx/opentx/pull/8882 * fix: TPro - No FS in global functions https://github.com/opentx/opentx/pull/8845 * Missing IS_SWITCH_FS defintions * Update MPM fallback SUBTYPE and OPT strings * Custom MPM proto should not be processed
This commit is contained in:
@@ -93,8 +93,9 @@
|
||||
#define SWITCH_EXISTS(x) (SWITCH_CONFIG(x) != SWITCH_NONE)
|
||||
#define IS_CONFIG_3POS(x) (SWITCH_CONFIG(x) == SWITCH_3POS)
|
||||
#define IS_CONFIG_TOGGLE(x) (SWITCH_CONFIG(x) == SWITCH_TOGGLE)
|
||||
#define IS_SWITCH_FS(x) (false)
|
||||
#endif
|
||||
#define SWITCH_WARNING_ALLOWED(x) (SWITCH_EXISTS(x) && !IS_CONFIG_TOGGLE(x))
|
||||
#define SWITCH_WARNING_ALLOWED(x) (SWITCH_EXISTS(x) && !(IS_CONFIG_TOGGLE(x) || IS_SWITCH_FS(x)))
|
||||
#else
|
||||
#define IS_CONFIG_3POS(x) IS_3POS(x)
|
||||
#define IS_CONFIG_TOGGLE(x) IS_TOGGLE(x)
|
||||
|
||||
Reference in New Issue
Block a user