Move Wireless Paper V1.1 custom hibernate behavior to GxEPD2

pull/3339/head
Todd Herbert 2024-03-05 14:53:42 +13:00
rodzic 7da1153c2c
commit 5d4d91f775
2 zmienionych plików z 3 dodań i 4 usunięć

Wyświetl plik

@ -84,10 +84,10 @@ bool EInkDisplay::forceDisplay(uint32_t msecLimit)
adafruitDisplay->nextPage();
#endif
#ifndef EINK_NO_HIBERNATE // Only hibernate if controller IC will preserve image memory
// Put screen to sleep to save power (possibly not necessary because we already did poweroff inside of display)
// Power off display hardware
// Most models: deep sleep.
// Wireless Paper V1.1: power off only. Deep sleep clears memory - problems with fast refresh
adafruitDisplay->hibernate();
#endif
LOG_DEBUG("done\n");
return true;

Wyświetl plik

@ -5,7 +5,6 @@
#define I2C_SCL SCL
#define USE_EINK
#define EINK_NO_HIBERNATE
/*
* eink display pins