From 8f84423f7e7735ddf098fa95a1195006a20c63e2 Mon Sep 17 00:00:00 2001 From: Paul Hortiatis Date: Tue, 12 Sep 2023 12:02:53 -0400 Subject: [PATCH] Remove dead code --- Platformio/HAL/Targets/ESP32/display/display.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Platformio/HAL/Targets/ESP32/display/display.cpp b/Platformio/HAL/Targets/ESP32/display/display.cpp index f169b62..a8941cc 100644 --- a/Platformio/HAL/Targets/ESP32/display/display.cpp +++ b/Platformio/HAL/Targets/ESP32/display/display.cpp @@ -26,11 +26,6 @@ Display::Display(int backlight_pin, int enable_pin): DisplayAbstract(), setupBacklight(); // This eliminates the flash of the backlight - // This backlight init causes the backlight to come on full during startup - // ledcSetup(LCD_BACKLIGHT_LEDC_CHANNEL, LCD_BACKLIGHT_LEDC_FREQUENCY, LCD_BACKLIGHT_LEDC_BIT_RESOLUTION); - // ledcAttachPin(mBacklightPin, LCD_BACKLIGHT_LEDC_CHANNEL); - // ledcWrite(LCD_BACKLIGHT_LEDC_CHANNEL, 0); - // Slowly charge the VSW voltage to prevent a brownout // Workaround for hardware rev 1! for(int i = 0; i < 100; i++){