mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 17:27:45 +01:00
Fix glue code missing micros() (#2623)
This commit is contained in:
parent
b34eed125d
commit
91999a38ca
1 changed files with 1 additions and 0 deletions
|
@ -214,6 +214,7 @@ def include_file(path, basename):
|
||||||
ARDUINO_GLUE_CODE = """\
|
ARDUINO_GLUE_CODE = """\
|
||||||
#define yield() esphome::yield()
|
#define yield() esphome::yield()
|
||||||
#define millis() esphome::millis()
|
#define millis() esphome::millis()
|
||||||
|
#define micros() esphome::micros()
|
||||||
#define delay(x) esphome::delay(x)
|
#define delay(x) esphome::delay(x)
|
||||||
#define delayMicroseconds(x) esphome::delayMicroseconds(x)
|
#define delayMicroseconds(x) esphome::delayMicroseconds(x)
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue