From 4a273d2c93ea32fefdc56d53c8d959052b94db1a Mon Sep 17 00:00:00 2001 From: norbert-walter Date: Tue, 12 Aug 2025 15:37:22 +0200 Subject: [PATCH] Add hibernate in full page refresh --- lib/obp60task/obp60task.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/obp60task/obp60task.cpp b/lib/obp60task/obp60task.cpp index 3ee638b..26cbcac 100644 --- a/lib/obp60task/obp60task.cpp +++ b/lib/obp60task/obp60task.cpp @@ -891,6 +891,7 @@ void OBP60Task(GwApi *api){ else{ getdisplay().fillScreen(commonData.fgcolor); // Clear display #ifdef DISPLAY_GDEY042T81 + getdisplay().hibernate(); // Set display in hybenate mode getdisplay().init(115200, true, 2, false); // Init for Waveshare boards with "clever" reset circuit, 2ms reset pulse #else getdisplay().init(115200); // Init for normal displays @@ -918,6 +919,7 @@ void OBP60Task(GwApi *api){ else{ getdisplay().fillScreen(commonData.fgcolor); // Clear display #ifdef DISPLAY_GDEY042T81 + getdisplay().hibernate(); // Set display in hybenate mode getdisplay().init(115200, true, 2, false); // Init for Waveshare boards with "clever" reset circuit, 2ms reset pulse #else getdisplay().init(115200); // Init for normal displays @@ -942,6 +944,7 @@ void OBP60Task(GwApi *api){ else{ getdisplay().fillScreen(commonData.fgcolor); // Clear display #ifdef DISPLAY_GDEY042T81 + getdisplay().hibernate(); // Set display in hybenate mode getdisplay().init(115200, true, 2, false); // Init for Waveshare boards with "clever" reset circuit, 2ms reset pulse #else getdisplay().init(115200); // Init for normal displays