mirror of
https://github.com/esphome/esphome.git
synced 2025-07-30 23:26:36 +00:00
Include Arduino header when using Arduino
Co-authored-by: clydebarrow <2366188+clydebarrow@users.noreply.github.com>
This commit is contained in:
parent
3b8a5db97c
commit
11cc5aef62
@ -2,3 +2,7 @@
|
|||||||
|
|
||||||
// Helper macro to define a version code, whose value can be compared against other version codes.
|
// 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))
|
#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