From cd3195ec9b8e0cf0f772328337166a5c984b8909 Mon Sep 17 00:00:00 2001 From: cyberman54 Date: Sat, 6 Mar 2021 16:24:39 +0100 Subject: [PATCH] maintenance mode (display logic adjustment) --- src/display.cpp | 2 +- src/main.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/display.cpp b/src/display.cpp index e756ab47..65331bf6 100644 --- a/src/display.cpp +++ b/src/display.cpp @@ -159,7 +159,7 @@ void dp_init(bool verbose) { #if !(BOOTMENU) delay(8000); #endif - dp_contrast(DISPLAYCONTRAST); + #endif // HAS_LORA } // verbose diff --git a/src/main.cpp b/src/main.cpp index bc063d85..757d546c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -540,6 +540,8 @@ void setup() { // set runmode to normal RTC_runmode = RUNMODE_NORMAL; + dp_clear(); + dp_contrast(DISPLAYCONTRAST); vTaskDelete(NULL);