diff --git a/CO2_Gadget_TFT.h b/CO2_Gadget_TFT.h index 0d373f36..7b024f89 100644 --- a/CO2_Gadget_TFT.h +++ b/CO2_Gadget_TFT.h @@ -265,7 +265,7 @@ void displaySplashScreen() { void initBacklight() { #if defined(TTGO_TDISPLAY) || defined(ST7789_240x320) pinMode(TFT_BACKLIGHT, OUTPUT); - digitalWrite(TFT_BACKLIGHT, TFT_BACKLIGHT_ON); + digitalWrite(TFT_BACKLIGHT, 1); setDisplayBrightness(DisplayBrightness); #endif #ifdef ARDUINO_LILYGO_T_DISPLAY_S3