diff options
author | hubmartin <hub.martin@gmail.com> | 2021-08-23 15:02:40 +0200 |
---|---|---|
committer | hubmartin <hub.martin@gmail.com> | 2021-08-23 15:02:40 +0200 |
commit | db50131ed49f2fdb639799ca12839862340f8396 (patch) | |
tree | 3e1c3e0f1cfddfefdc81f3b6b1e7e42ffc5dd50f | |
parent | d832a6c908841be91838fc4165791a5953d6ba5b (diff) |
Remove commented commands completely
-rw-r--r-- | src/drivers/Cst816s.cpp | 2 | ||||
-rw-r--r-- | src/drivers/St7789.cpp | 9 |
2 files changed, 0 insertions, 11 deletions
diff --git a/src/drivers/Cst816s.cpp b/src/drivers/Cst816s.cpp index affc432f..2e70a469 100644 --- a/src/drivers/Cst816s.cpp +++ b/src/drivers/Cst816s.cpp @@ -19,8 +19,6 @@ Cst816S::Cst816S(TwiMaster& twiMaster, uint8_t twiAddress) : twiMaster {twiMaste void Cst816S::Init() { nrf_gpio_cfg_output(pinReset); - //nrf_gpio_pin_set(pinReset); - //vTaskDelay(5); nrf_gpio_pin_clear(pinReset); vTaskDelay(5); nrf_gpio_pin_set(pinReset); diff --git a/src/drivers/St7789.cpp b/src/drivers/St7789.cpp index 74038b2b..4d81cf27 100644 --- a/src/drivers/St7789.cpp +++ b/src/drivers/St7789.cpp @@ -170,16 +170,7 @@ void St7789::Sleep() { void St7789::Wakeup() { nrf_gpio_cfg_output(pinDataCommand); - // TODO why do we need to reset the controller? - //HardwareReset(); - //SoftwareReset(); SleepOut(); - //ColMod(); - //MemoryDataAccessControl(); - //ColumnAddressSet(); - //RowAddressSet(); - //DisplayInversionOn(); - //NormalModeOn(); VerticalScrollStartAddress(verticalScrollingStartAddress); DisplayOn(); NRF_LOG_INFO("[LCD] Wakeup") |