Update src/graphics/EInkDisplay2.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Ben Meadors
2026-04-16 07:49:34 -05:00
committed by GitHub
co-authored by GitHub Copilot
parent d5af07e458
commit 79e7ed30f1
+4 -2
View File
@@ -105,10 +105,12 @@ bool EInkDisplay::forceDisplay(uint32_t msecLimit)
void EInkDisplay::endUpdate()
{
#ifndef EINK_NOT_HIBERNATE
// Power off display hardware, then deep-sleep (Except Wireless Paper V1.1, no deep-sleep)
// By default, power off the E-Ink display hardware and enter hibernate().
// Boards/panels that define EINK_NOT_HIBERNATE intentionally skip this step.
// Skipping hibernate() can help avoid panel-specific wake/refresh or ghosting issues,
// but it typically trades lower power savings for that compatibility.
adafruitDisplay->hibernate();
#endif
}
// Write the buffer to the display memory