[ersky9x] Inflight Parameters modification disable for now
This commit is contained in:
+2
-2
@@ -501,7 +501,7 @@ void popMenu()
|
|||||||
|
|
||||||
void chainMenu(MenuFuncP newMenu)
|
void chainMenu(MenuFuncP newMenu)
|
||||||
{
|
{
|
||||||
#if defined(ROTARY_ENCODERS)
|
#if defined(ROTARY_ENCODERS) && defined(PCBV4)
|
||||||
s_inflight_enable = false;
|
s_inflight_enable = false;
|
||||||
#endif
|
#endif
|
||||||
g_menuStack[g_menuStackPtr] = newMenu;
|
g_menuStack[g_menuStackPtr] = newMenu;
|
||||||
@@ -511,7 +511,7 @@ void chainMenu(MenuFuncP newMenu)
|
|||||||
|
|
||||||
void pushMenu(MenuFuncP newMenu)
|
void pushMenu(MenuFuncP newMenu)
|
||||||
{
|
{
|
||||||
#if defined(ROTARY_ENCODERS)
|
#if defined(ROTARY_ENCODERS) && defined(PCBV4)
|
||||||
s_inflight_enable = false;
|
s_inflight_enable = false;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -119,7 +119,7 @@ int8_t checkIncDecGen(uint8_t event, int8_t i_val, int8_t i_min, int8_t i_max);
|
|||||||
#define CHECK_INCDEC_GENVAR(event, var, min, max) \
|
#define CHECK_INCDEC_GENVAR(event, var, min, max) \
|
||||||
var = checkIncDecGen(event,var,min,max)
|
var = checkIncDecGen(event,var,min,max)
|
||||||
|
|
||||||
#if defined(ROTARY_ENCODERS)
|
#if defined(PCBV4) && defined(ROTARY_ENCODERS)
|
||||||
extern bool s_inflight_enable;
|
extern bool s_inflight_enable;
|
||||||
extern int8_t *s_inflight_value;
|
extern int8_t *s_inflight_value;
|
||||||
extern const pm_char *s_inflight_label;
|
extern const pm_char *s_inflight_label;
|
||||||
|
|||||||
Reference in New Issue
Block a user