mirror of
https://github.com/esphome/esphome.git
synced 2025-09-11 07:42:26 +01:00
core/scheduler: Make millis_64_ rollover monotonic on SMP (#9716)
Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
@@ -35,6 +35,14 @@ class Framework(StrEnum):
|
||||
ZEPHYR = "zephyr"
|
||||
|
||||
|
||||
class CoreModel(StrEnum):
|
||||
"""Core model identifiers for ESPHome scheduler."""
|
||||
|
||||
SINGLE = "ESPHOME_CORES_SINGLE"
|
||||
MULTI_NO_ATOMICS = "ESPHOME_CORES_MULTI_NO_ATOMICS"
|
||||
MULTI_ATOMICS = "ESPHOME_CORES_MULTI_ATOMICS"
|
||||
|
||||
|
||||
class PlatformFramework(Enum):
|
||||
"""Combined platform-framework identifiers with tuple values."""
|
||||
|
||||
|
Reference in New Issue
Block a user