diff --git a/code/firmware-2.7.15.567b8ea/src/graphics/draw/NodeListRenderer.cpp b/code/firmware-2.7.15.567b8ea/src/graphics/draw/NodeListRenderer.cpp index afc78c7..8a36672 100644 --- a/code/firmware-2.7.15.567b8ea/src/graphics/draw/NodeListRenderer.cpp +++ b/code/firmware-2.7.15.567b8ea/src/graphics/draw/NodeListRenderer.cpp @@ -55,6 +55,9 @@ static unsigned long lastUpPressTime = 0; static unsigned long lastDownPressTime = 0; #define DOUBLE_CLICK_THRESHOLD_MS 400 +// 前向声明 +int calculateMaxScroll(int totalEntries, int visibleRows); + // ============================= // Mode Control Functions (manual UP/DOWN control) // =============================