ST7789 : do not reconfigure the reset pin to default during sleep.

This commit is contained in:
Jean-François Milants 2023-06-04 17:17:19 +02:00 committed by JF
parent c9747462f7
commit 8fee341b86

View file

@ -186,7 +186,6 @@ void St7789::HardwareReset() {
void St7789::Sleep() { void St7789::Sleep() {
SleepIn(); SleepIn();
nrf_gpio_cfg_default(pinDataCommand); nrf_gpio_cfg_default(pinDataCommand);
nrf_gpio_cfg_default(pinReset);
NRF_LOG_INFO("[LCD] Sleep"); NRF_LOG_INFO("[LCD] Sleep");
} }