1
0
Fork 0

Remove commented commands completely

This commit is contained in:
hubmartin 2021-08-23 15:02:40 +02:00
parent d832a6c908
commit db50131ed4
2 changed files with 0 additions and 11 deletions

View file

@ -19,8 +19,6 @@ Cst816S::Cst816S(TwiMaster& twiMaster, uint8_t twiAddress) : twiMaster {twiMaste
void Cst816S::Init() { void Cst816S::Init() {
nrf_gpio_cfg_output(pinReset); nrf_gpio_cfg_output(pinReset);
//nrf_gpio_pin_set(pinReset);
//vTaskDelay(5);
nrf_gpio_pin_clear(pinReset); nrf_gpio_pin_clear(pinReset);
vTaskDelay(5); vTaskDelay(5);
nrf_gpio_pin_set(pinReset); nrf_gpio_pin_set(pinReset);

View file

@ -170,16 +170,7 @@ void St7789::Sleep() {
void St7789::Wakeup() { void St7789::Wakeup() {
nrf_gpio_cfg_output(pinDataCommand); nrf_gpio_cfg_output(pinDataCommand);
// TODO why do we need to reset the controller?
//HardwareReset();
//SoftwareReset();
SleepOut(); SleepOut();
//ColMod();
//MemoryDataAccessControl();
//ColumnAddressSet();
//RowAddressSet();
//DisplayInversionOn();
//NormalModeOn();
VerticalScrollStartAddress(verticalScrollingStartAddress); VerticalScrollStartAddress(verticalScrollingStartAddress);
DisplayOn(); DisplayOn();
NRF_LOG_INFO("[LCD] Wakeup") NRF_LOG_INFO("[LCD] Wakeup")