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

View File

@@ -17,7 +17,7 @@
#define ST7735_RESET 39
#define ST7735_MISO -1
#define ST7735_BUSY -1
#define ST7735_BL 21 /* V1.1 PCB marking */
#define TFT_BL 21 /* V1.1 PCB marking */
#define ST7735_SPI_HOST SPI3_HOST
#define SPI_FREQUENCY 40000000
#define SPI_READ_FREQUENCY 16000000
@@ -88,4 +88,4 @@
{ \
26, 37, 17, 16, 15, 7 \
}
// #end keyboard
// #end keyboard

View File

@@ -16,7 +16,7 @@
#define ST7789_CS 38
#define ST7789_RS 40
#define ST7789_BL 21
// P#define ST7735_BL 21 /* V1.1 PCB marking */
// P#define TFT_BL 21 /* V1.1 PCB marking */
#define ST7789_RESET -1
#define ST7789_MISO -1
@@ -41,7 +41,7 @@
// #define ST7735_RESET 39
// #define ST7735_MISO -1
// #define ST7735_BUSY -1
#define ST7735_BL 21 /* V1.1 PCB marking */
#define TFT_BL 21 /* V1.1 PCB marking */
// #define ST7735_SPI_HOST SPI3_HOST
// #define SPI_FREQUENCY 40000000
// #define SPI_READ_FREQUENCY 16000000
@@ -112,4 +112,4 @@
{ \
26, 37, 17, 16, 15, 7 \
}
// #end keyboard
// #end keyboard

View File

@@ -19,7 +19,7 @@
// #define ST7735_RESET 39
// #define ST7735_MISO -1
// #define ST7735_BUSY -1
#define ST7735_BL 21 /* V1.1 PCB marking */
#define TFT_BL 21 /* V1.1 PCB marking */
// #define ST7735_SPI_HOST SPI3_HOST
// #define SPI_FREQUENCY 40000000
// #define SPI_READ_FREQUENCY 16000000