Skip to content

Commit

Permalink
Actualizar CO2_Gadget_TFT.h
Browse files Browse the repository at this point in the history
Remove conditional  setDisplayBrightness() so is executed later
  • Loading branch information
Coscolin authored May 19, 2024
1 parent bd04c52 commit 6c3437b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions CO2_Gadget_TFT.h
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,6 @@ void turnOnDisplay() {
delay(120);
tft.writecommand(TFT_DISPON); // turn on display
digitalWrite(TFT_BACKLIGHT, HIGH); // turn on lcd backlight
#ifdef TTGO_TDISPLAY
setDisplayBrightness(DisplayBrightness);
#endif
#ifdef ARDUINO_LILYGO_T_DISPLAY_S3
actualDisplayBrightness = 16; // At the beginning brightness is at maximum level
#endif
Expand Down

0 comments on commit 6c3437b

Please sign in to comment.