From 44903526c6ab1362e548754190e8ef7322d8aff9 Mon Sep 17 00:00:00 2001 From: Tropical <42101043+tropicaaal@users.noreply.github.com> Date: Sat, 4 Apr 2026 12:39:18 -0500 Subject: [PATCH] fix: UI_REPEAT constant linkage --- targets/app/common/src/UI/UIController.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/targets/app/common/src/UI/UIController.h b/targets/app/common/src/UI/UIController.h index ac22fb140..d5a22b2a8 100644 --- a/targets/app/common/src/UI/UIController.h +++ b/targets/app/common/src/UI/UIController.h @@ -58,9 +58,9 @@ protected: private: std::mutex m_navigationLock; - static const int UI_REPEAT_KEY_DELAY_MS = + static constexpr int UI_REPEAT_KEY_DELAY_MS = 300; // How long from press until the first repeat - static const int UI_REPEAT_KEY_REPEAT_RATE_MS = + static constexpr int UI_REPEAT_KEY_REPEAT_RATE_MS = 100; // How long in between repeats time_util::time_point m_actionRepeatTimer[XUSER_MAX_COUNT][ACTION_MAX_MENU + 1];