Fix v6 status bar ram refresh

This commit is contained in:
Just Call Me Koko
2024-02-24 20:13:25 -05:00
parent 4188819965
commit 4ea3166f1a
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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