1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-06 05:12:21 +01:00

Warn if a component does long-running work in loop thread (#565)

* Warn if a component does long-running work in loop thread

* Update application.cpp
This commit is contained in:
Otto Winter
2019-05-29 11:13:05 +02:00
committed by GitHub
parent 2f3c6d5b58
commit 15cb0e4ff3
3 changed files with 38 additions and 28 deletions

View File

@@ -61,6 +61,7 @@ RESERVED_IDS = [
'App', 'pinMode', 'delay', 'delayMicroseconds', 'digitalRead', 'digitalWrite', 'INPUT',
'OUTPUT',
'uint8_t', 'uint16_t', 'uint32_t', 'uint64_t', 'int8_t', 'int16_t', 'int32_t', 'int64_t',
'close', 'pause', 'sleep', 'open',
]