From 4ea3166f1afa2dabee9e748f784792c7ea4f8354 Mon Sep 17 00:00:00 2001 From: Just Call Me Koko Date: Sat, 24 Feb 2024 20:13:25 -0500 Subject: [PATCH] Fix v6 status bar ram refresh --- esp32_marauder/MenuFunctions.cpp | 2 +- esp32_marauder/configs.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/esp32_marauder/MenuFunctions.cpp b/esp32_marauder/MenuFunctions.cpp index 3e6702d0c..5a7fd68ba 100644 --- a/esp32_marauder/MenuFunctions.cpp +++ b/esp32_marauder/MenuFunctions.cpp @@ -989,7 +989,7 @@ void MenuFunctions::updateStatusBar() // RAM Stuff wifi_scan_obj.freeRAM(); - if (wifi_scan_obj.free_ram != wifi_scan_obj.old_free_ram) { + if ((wifi_scan_obj.free_ram != wifi_scan_obj.old_free_ram) || (status_changed)) { wifi_scan_obj.old_free_ram = wifi_scan_obj.free_ram; display_obj.tft.fillRect(100, 0, 60, STATUS_BAR_WIDTH, STATUSBAR_COLOR); #ifdef HAS_ILI9341 diff --git a/esp32_marauder/configs.h b/esp32_marauder/configs.h index 3b3347262..71ac91bdb 100644 --- a/esp32_marauder/configs.h +++ b/esp32_marauder/configs.h @@ -8,9 +8,9 @@ //// BOARD TARGETS //#define MARAUDER_M5STICKC - #define MARAUDER_MINI + //#define MARAUDER_MINI //#define MARAUDER_V4 - //#define MARAUDER_V6 + #define MARAUDER_V6 //#define MARAUDER_V6_1 //#define MARAUDER_KIT //#define GENERIC_ESP32