From cbd4175e28ca1bb9fb7bc56d4cfbf92faedc5c9c Mon Sep 17 00:00:00 2001 From: Egor Date: Wed, 13 Nov 2024 21:44:58 -0800 Subject: [PATCH] add low level --- tft_src/main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tft_src/main.cpp b/tft_src/main.cpp index e094d85..f3583f2 100644 --- a/tft_src/main.cpp +++ b/tft_src/main.cpp @@ -133,6 +133,8 @@ uint64_t scan_time = 0; uint64_t scan_start_time = 0; #endif +// To remove waterfall adjust this and this +#define LOWER_LEVEL 108 #define WATERFALL_START 115 #define WATERFALL_END DISPLAY_HEIGHT - 10 - 2 @@ -249,7 +251,7 @@ void battery() } } -constexpr int lower_level = 108; +constexpr int lower_level = LOWER_LEVEL; constexpr int up_level = 40; int rssiToPix(int rssi) {