mirror of
https://github.com/esphome/esphome.git
synced 2025-09-04 04:12:23 +01:00
Fix glue code missing micros() (#2623)
This commit is contained in:
@@ -237,6 +237,7 @@ def include_file(path, basename):
|
||||
ARDUINO_GLUE_CODE = """\
|
||||
#define yield() esphome::yield()
|
||||
#define millis() esphome::millis()
|
||||
#define micros() esphome::micros()
|
||||
#define delay(x) esphome::delay(x)
|
||||
#define delayMicroseconds(x) esphome::delayMicroseconds(x)
|
||||
"""
|
||||
|
Reference in New Issue
Block a user