Apply Hardware reset on display during wake-up, as softreset might not be enough to wake the display up.

This commit is contained in:
JF 2020-01-18 13:55:22 +01:00
parent c1f3a31b51
commit 8daa830ee0

View File

@ -180,6 +180,7 @@ 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();
SoftwareReset(); SoftwareReset();
SleepOut(); SleepOut();
ColMod(); ColMod();