[arduino] Always include Arduino.h for Arduino (#8693)

This commit is contained in:
Clyde Stubbs 2025-05-05 18:25:24 +10:00 committed by GitHub
parent 8bbc509b0b
commit 1ac56b06c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,3 +2,7 @@
// Helper macro to define a version code, whose value can be compared against other version codes.
#define VERSION_CODE(major, minor, patch) ((major) << 16 | (minor) << 8 | (patch))
#ifdef USE_ARDUINO
#include <Arduino.h>
#endif