From 3b984016ea7b0033b4e71fd6a8ed1ee1f01a8066 Mon Sep 17 00:00:00 2001 From: philmoz Date: Sun, 10 Mar 2024 19:41:56 +1100 Subject: [PATCH] fix(bw): Long ENTER not working correctly when using ADJUST GV SF (#4709) --- radio/src/gui/128x64/model_special_functions.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/radio/src/gui/128x64/model_special_functions.cpp b/radio/src/gui/128x64/model_special_functions.cpp index 07b847f2c9a..24a3c5cb344 100644 --- a/radio/src/gui/128x64/model_special_functions.cpp +++ b/radio/src/gui/128x64/model_special_functions.cpp @@ -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) {