From 3b439dbbb3609a30a407570f6594e33063ec7e38 Mon Sep 17 00:00:00 2001 From: cosmicpsyop Date: Mon, 6 May 2024 00:22:33 -0700 Subject: [PATCH] clean up lilygoT_HMI.h; leave DEFINE_SDMMC_1BIT disabled --- src/drivers/devices/lilygoT_HMI.h | 25 ++----------------------- 1 file changed, 2 insertions(+), 23 deletions(-) diff --git a/src/drivers/devices/lilygoT_HMI.h b/src/drivers/devices/lilygoT_HMI.h index 03919d7..ab384b8 100644 --- a/src/drivers/devices/lilygoT_HMI.h +++ b/src/drivers/devices/lilygoT_HMI.h @@ -12,7 +12,6 @@ #define PIN_BUTTON_1 (0) //#define PIN_BUTTON_2 (21) - // touch screen #define TOUCH_IRQ (9) #define TOUCH_CLK (1) @@ -20,18 +19,6 @@ #define TOUCH_MOSI (3) #define ETOUCH_CS (2) - -// lcd - -#define LCD_DATA0_PIN (48) -#define LCD_DATA1_PIN (47) -#define LCD_DATA2_PIN (39) -#define LCD_DATA3_PIN (40) -#define LCD_DATA4_PIN (41) -#define LCD_DATA5_PIN (42) -#define LCD_DATA6_PIN (45) -#define LCD_DATA7_PIN (46) - #define PCLK_PIN (8) #define CS_PIN (6) #define DC_PIN (7) @@ -41,19 +28,11 @@ #define LED_PIN (8) // sd card -// 1-bit SD_MMC -#ifdef DEFINE_1BIT - +// 1-bit SD MMC +#ifdef DEFINE_SDMMC_1BIT #define SDMMC_CLK (12) #define SDMMC_CMD (11) #define SDMMC_D0 (13) - -#else - -#define SDSPI_MISO (13) -#define SDSPI_MOSI (11) -#define SDSPI_CLK (12) - #endif #ifndef TFT_BL