mirror of
https://github.com/esphome/esphome.git
synced 2025-07-28 14:16:40 +00:00
[arduino] Always include Arduino.h for Arduino (#8693)
This commit is contained in:
parent
8bbc509b0b
commit
1ac56b06c5
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user