Remove LCD reset and more cmds, save over 200ms
This commit is contained in:
parent
faed0d4900
commit
099364e619
|
@ -171,15 +171,15 @@ void St7789::Sleep() {
|
|||
void St7789::Wakeup() {
|
||||
nrf_gpio_cfg_output(pinDataCommand);
|
||||
// TODO why do we need to reset the controller?
|
||||
HardwareReset();
|
||||
SoftwareReset();
|
||||
//HardwareReset();
|
||||
//SoftwareReset();
|
||||
SleepOut();
|
||||
ColMod();
|
||||
MemoryDataAccessControl();
|
||||
ColumnAddressSet();
|
||||
RowAddressSet();
|
||||
DisplayInversionOn();
|
||||
NormalModeOn();
|
||||
//ColMod();
|
||||
//MemoryDataAccessControl();
|
||||
//ColumnAddressSet();
|
||||
//RowAddressSet();
|
||||
//DisplayInversionOn();
|
||||
//NormalModeOn();
|
||||
VerticalScrollStartAddress(verticalScrollingStartAddress);
|
||||
DisplayOn();
|
||||
NRF_LOG_INFO("[LCD] Wakeup")
|
||||
|
|
Loading…
Reference in a new issue