fix(bw): Long ENTER not working correctly when using ADJUST GV SF (#4709)

This commit is contained in:
philmoz
2024-03-10 18:41:56 +10:00
committed by GitHub
parent 6d316e50e4
commit 3b984016ea
@@ -413,6 +413,8 @@ void menuSpecialFunctions(event_t event, CustomFunctionData * functions, CustomF
break;
}
#if !defined(NAVIGATION_X7)
// For X7 type navigation the ENTER long press is handled below
if (attr && event==EVT_KEY_LONG(KEY_ENTER)) {
killEvents(event);
s_editMode = !s_editMode;
@@ -421,6 +423,7 @@ void menuSpecialFunctions(event_t event, CustomFunctionData * functions, CustomF
CFN_GVAR_MODE(cfn) &= 0x03;
val_displayed = 0;
}
#endif
}
#endif // GVARS
else if (attr) {