From 3bbefc69c0ebf2837fee12926892e4c4e5176d58 Mon Sep 17 00:00:00 2001 From: Max-Plastix Date: Sun, 23 Jan 2022 20:32:39 -0800 Subject: [PATCH] v1.6.5 tagged --- main/configuration.h | 2 +- main/main.cpp | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/main/configuration.h b/main/configuration.h index 5a56a57..0b497ee 100644 --- a/main/configuration.h +++ b/main/configuration.h @@ -68,7 +68,7 @@ along with this program. If not, see . // ----------------------------------------------------------------------------- #define APP_NAME "Helium TTGO" -#define APP_VERSION "1.6.4 MaxP" +#define APP_VERSION "1.6.5 MaxP" // ----------------------------------------------------------------------------- // Less common Configuration iteams diff --git a/main/main.cpp b/main/main.cpp index a8dcc34..a486705 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -674,8 +674,10 @@ void setup() { if (0 && wakeCause == ESP_SLEEP_WAKEUP_TIMER) ssd1306_found = false; // forget we even have the hardware + // This creates the display object, so if we don't call it.. all screen ops are do-nothing. if (ssd1306_found) screen_setup(); + is_screen_on = true; // GPS power on, so it has time to setttle. axp.setPowerOutPut(AXP192_LDO3, AXP202_ON); @@ -745,7 +747,7 @@ void update_activity() { is_screen_on = false; screen_off(); } - } else { + } else { // Else we had some recent activity. Turn on? if (!is_screen_on && !screen_stay_off) { is_screen_on = true; screen_on();