mirror of https://github.com/sqfmi/Watchy.git
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 itpull/242/head
parent
f2c0c91a61
commit
3ce125247d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue