Skip to content

Commit 099364e

Browse files
committed
Remove LCD reset and more cmds, save over 200ms
1 parent faed0d4 commit 099364e

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

src/drivers/St7789.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -171,15 +171,15 @@ void St7789::Sleep() {
171171
void St7789::Wakeup() {
172172
nrf_gpio_cfg_output(pinDataCommand);
173173
// TODO why do we need to reset the controller?
174-
HardwareReset();
175-
SoftwareReset();
174+
//HardwareReset();
175+
//SoftwareReset();
176176
SleepOut();
177-
ColMod();
178-
MemoryDataAccessControl();
179-
ColumnAddressSet();
180-
RowAddressSet();
181-
DisplayInversionOn();
182-
NormalModeOn();
177+
//ColMod();
178+
//MemoryDataAccessControl();
179+
//ColumnAddressSet();
180+
//RowAddressSet();
181+
//DisplayInversionOn();
182+
//NormalModeOn();
183183
VerticalScrollStartAddress(verticalScrollingStartAddress);
184184
DisplayOn();
185185
NRF_LOG_INFO("[LCD] Wakeup")

0 commit comments

Comments
 (0)