1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 03:12:20 +01:00

[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

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