Rename touch pin macros to avoid TFT_eSPI TOUCH_CS clash.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-17 17:39:16 +08:00
parent a7a7685fc9
commit f05c5d6fd2
2 changed files with 24 additions and 24 deletions

View File

@@ -14,12 +14,12 @@
// 板载 SC8002B 功放 → P4 喇叭座(DAC2)
#define SPEAKER_PIN 26
// 触摸 XPT2046(SoftSPI,避开 VSPI)
#define TOUCH_IRQ 36
#define TOUCH_MOSI 32
#define TOUCH_MISO 39
#define TOUCH_CLK 25
#define TOUCH_CS 33
// 触摸 XPT2046(SoftSPI,避开 VSPI;勿用 TOUCH_CS,会与 TFT_eSPI 冲突)
#define CYD_TOUCH_IRQ 36
#define CYD_TOUCH_MOSI 32
#define CYD_TOUCH_MISO 39
#define CYD_TOUCH_CLK 25
#define CYD_TOUCH_CS 33
// 物理竖屏分辨率(TFT 驱动)
#define SCREEN_WIDTH 240