From 6d45dae9c9bcf00872c8cce00478e7fa59c6b3c7 Mon Sep 17 00:00:00 2001 From: David Gwilliam Date: Mon, 16 Feb 2026 15:09:23 -0800 Subject: [PATCH] fix: add missing #include to GFX/GT911 drivers Required for uint16_t, Serial, millis() etc. when compiling outside the .ino (Arduino IDE auto-includes Arduino.h for .ino files but not for standalone .cpp files). --- sketches/doorbell-touch-esp32-32e/DisplayDriverGFX.cpp | 1 + sketches/doorbell-touch-esp32-32e/TouchDriverGT911.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/sketches/doorbell-touch-esp32-32e/DisplayDriverGFX.cpp b/sketches/doorbell-touch-esp32-32e/DisplayDriverGFX.cpp index 95aa1f2..033931d 100644 --- a/sketches/doorbell-touch-esp32-32e/DisplayDriverGFX.cpp +++ b/sketches/doorbell-touch-esp32-32e/DisplayDriverGFX.cpp @@ -4,6 +4,7 @@ // For the TFT_eSPI path this file compiles to nothing. // ═══════════════════════════════════════════════════════════════════ #include "BoardConfig.h" +#include #if USE_ARDUINO_GFX diff --git a/sketches/doorbell-touch-esp32-32e/TouchDriverGT911.cpp b/sketches/doorbell-touch-esp32-32e/TouchDriverGT911.cpp index 0b6db1b..fe4630a 100644 --- a/sketches/doorbell-touch-esp32-32e/TouchDriverGT911.cpp +++ b/sketches/doorbell-touch-esp32-32e/TouchDriverGT911.cpp @@ -1,4 +1,5 @@ #include "BoardConfig.h" +#include #if USE_TOUCH_GT911