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() {
|
void St7789::Wakeup() {
|
||||||
nrf_gpio_cfg_output(pinDataCommand);
|
nrf_gpio_cfg_output(pinDataCommand);
|
||||||
// TODO why do we need to reset the controller?
|
// TODO why do we need to reset the controller?
|
||||||
HardwareReset();
|
//HardwareReset();
|
||||||
SoftwareReset();
|
//SoftwareReset();
|
||||||
SleepOut();
|
SleepOut();
|
||||||
ColMod();
|
//ColMod();
|
||||||
MemoryDataAccessControl();
|
//MemoryDataAccessControl();
|
||||||
ColumnAddressSet();
|
//ColumnAddressSet();
|
||||||
RowAddressSet();
|
//RowAddressSet();
|
||||||
DisplayInversionOn();
|
//DisplayInversionOn();
|
||||||
NormalModeOn();
|
//NormalModeOn();
|
||||||
VerticalScrollStartAddress(verticalScrollingStartAddress);
|
VerticalScrollStartAddress(verticalScrollingStartAddress);
|
||||||
DisplayOn();
|
DisplayOn();
|
||||||
NRF_LOG_INFO("[LCD] Wakeup")
|
NRF_LOG_INFO("[LCD] Wakeup")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user