From 3ce125247df57ae9ed05b1974173c3088aa550b9 Mon Sep 17 00:00:00 2001 From: Daniel Ansorregui Date: Fri, 29 Dec 2023 13:30:36 +0000 Subject: [PATCH] No soft reset after reset * Avoid a redundant reset after a reset The display is always reset after a hard reset and there is no need to re-reset it --- src/Display.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Display.cpp b/src/Display.cpp index 8f9d378..ad61249 100644 --- a/src/Display.cpp +++ b/src/Display.cpp @@ -372,8 +372,10 @@ void WatchyDisplay::_PowerOff() void WatchyDisplay::_InitDisplay() { if (_hibernating) _reset(); - _writeCommand(0x12); // soft reset - _waitWhileBusy("_SoftReset", 10); // 10ms max according to specs + + // No need to soft reset, the Display goes to same state after hard reset + // _writeCommand(0x12); // soft reset + // _waitWhileBusy("_SoftReset", 10); // 10ms max according to specs*/ _startTransfer(); _transferCommand(0x01); // Driver output control