fix: add missing #include <Arduino.h> 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).
This commit is contained in:
2026-02-16 15:09:23 -08:00
parent 8508442682
commit 6d45dae9c9
2 changed files with 2 additions and 0 deletions

View File

@@ -4,6 +4,7 @@
// For the TFT_eSPI path this file compiles to nothing.
// ═══════════════════════════════════════════════════════════════════
#include "BoardConfig.h"
#include <Arduino.h>
#if USE_ARDUINO_GFX

View File

@@ -1,4 +1,5 @@
#include "BoardConfig.h"
#include <Arduino.h>
#if USE_TOUCH_GT911