fix(bw): Long ENTER not working correctly when using ADJUST GV SF (#4709)
This commit is contained in:
@@ -413,6 +413,8 @@ void menuSpecialFunctions(event_t event, CustomFunctionData * functions, CustomF
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if !defined(NAVIGATION_X7)
|
||||||
|
// For X7 type navigation the ENTER long press is handled below
|
||||||
if (attr && event==EVT_KEY_LONG(KEY_ENTER)) {
|
if (attr && event==EVT_KEY_LONG(KEY_ENTER)) {
|
||||||
killEvents(event);
|
killEvents(event);
|
||||||
s_editMode = !s_editMode;
|
s_editMode = !s_editMode;
|
||||||
@@ -421,6 +423,7 @@ void menuSpecialFunctions(event_t event, CustomFunctionData * functions, CustomF
|
|||||||
CFN_GVAR_MODE(cfn) &= 0x03;
|
CFN_GVAR_MODE(cfn) &= 0x03;
|
||||||
val_displayed = 0;
|
val_displayed = 0;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
#endif // GVARS
|
#endif // GVARS
|
||||||
else if (attr) {
|
else if (attr) {
|
||||||
|
|||||||
Reference in New Issue
Block a user