Fix glue code missing micros() (#2623)

This commit is contained in:
Otto Winter 2021-10-23 19:25:53 +02:00 committed by Jesse Hills
parent b34eed125d
commit 91999a38ca
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A

View File

@ -214,6 +214,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)
"""