1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-01 15:41:52 +00:00

Compare commits

...

1 Commits

Author SHA1 Message Date
Jesse Hills
11cc5aef62 Include Arduino header when using Arduino
Co-authored-by: clydebarrow <2366188+clydebarrow@users.noreply.github.com>
2025-05-05 19:49:11 +12:00

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