diff --git a/App/app/rxtx_log.c b/App/app/rxtx_log.c index d8d08005..dba25107 100644 --- a/App/app/rxtx_log.c +++ b/App/app/rxtx_log.c @@ -9,6 +9,7 @@ #include #include +#include "app/common.h" #include "app/generic.h" #include "app/rxtx_log.h" #include "audio.h" @@ -1059,7 +1060,12 @@ void RXTX_LOG_ProcessKeys(KEY_Code_t Key, bool bKeyPressed, bool bKeyHeld) case KEY_F: // GENERIC_Key_F only toggles the flag on the MAIN screen, so // handle it here: F arms a go-to-first/last modifier for UP/DOWN. - if (bKeyPressed && !bKeyHeld) { + if (bKeyPressed && bKeyHeld) { + RXTX_LOG_CancelClearConfirm(); + HideFKeyIcon(); + COMMON_KeypadLockToggle(); + gUpdateStatus = true; + } else if (bKeyPressed) { RXTX_LOG_CancelClearConfirm(); gWasFKeyPressed = !gWasFKeyPressed; if (gWasFKeyPressed) diff --git a/App/functions.h b/App/functions.h index ec1d983c..7ec52795 100644 --- a/App/functions.h +++ b/App/functions.h @@ -17,6 +17,7 @@ #ifndef FUNCTIONS_H #define FUNCTIONS_H +#include #include enum FUNCTION_Type_t