Skip to content

Commit db50131

Browse files
committed
Remove commented commands completely
1 parent d832a6c commit db50131

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

src/drivers/Cst816s.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ Cst816S::Cst816S(TwiMaster& twiMaster, uint8_t twiAddress) : twiMaster {twiMaste
1919

2020
void Cst816S::Init() {
2121
nrf_gpio_cfg_output(pinReset);
22-
//nrf_gpio_pin_set(pinReset);
23-
//vTaskDelay(5);
2422
nrf_gpio_pin_clear(pinReset);
2523
vTaskDelay(5);
2624
nrf_gpio_pin_set(pinReset);

src/drivers/St7789.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -170,16 +170,7 @@ void St7789::Sleep() {
170170

171171
void St7789::Wakeup() {
172172
nrf_gpio_cfg_output(pinDataCommand);
173-
// TODO why do we need to reset the controller?
174-
//HardwareReset();
175-
//SoftwareReset();
176173
SleepOut();
177-
//ColMod();
178-
//MemoryDataAccessControl();
179-
//ColumnAddressSet();
180-
//RowAddressSet();
181-
//DisplayInversionOn();
182-
//NormalModeOn();
183174
VerticalScrollStartAddress(verticalScrollingStartAddress);
184175
DisplayOn();
185176
NRF_LOG_INFO("[LCD] Wakeup")

0 commit comments

Comments
 (0)