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
pull/242/head
Daniel Ansorregui 2023-12-29 13:30:36 +00:00
parent f2c0c91a61
commit 3ce125247d
1 changed files with 4 additions and 2 deletions

View File

@ -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