Merge the three redundant backlight enables into the single TFT_BL flag

This commit is contained in:
Kevin Hester
2024-08-22 09:15:59 -07:00
parent 7fb9b094d5
commit 3ae8aadaf0
9 changed files with 23 additions and 33 deletions
+2 -2
View File
@@ -166,7 +166,7 @@ static const uint8_t SCK = PIN_SPI_SCK;
// ST7565 SPI
#define ST7735_RESET (11) // Output
#define ST7735_CS (12)
#define ST7735_BACKLIGHT_EN (13)
#define TFT_BL (13)
#define ST7735_RS (9)
#define ST7735_SDA (39) // actually spi MOSI
#define ST7735_SCK (37) // actually spi clk
@@ -185,4 +185,4 @@ static const uint8_t SCK = PIN_SPI_SCK;
* Arduino objects - C++ only
*----------------------------------------------------------------------------*/
#endif
#endif