mirror of
https://github.com/esphome/esphome.git
synced 2026-09-17 10:08:40 +00:00
c6d888e4d28ab184b1fbcacc837123ba26f0cf53
In time_64.cpp's true-rollover branch, bump the just-loaded `major` local first and __atomic_store_n that value to millis_major, instead of reading the global again for the store expression. Equivalent under the held lock; clearer and avoids a second read. scheduler.h indent: the NO_ATOMICS #else branch bodies read at 2 spaces while the sibling #ifdef/#elif branches read at 4. clang-format refuses to normalise these consistently — every manual re-indent to 4 spaces gets reverted by the hook. Leaving as clang-format produces it.
Description
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Readme
Multiple Licenses
598 MiB
Languages
C++
55.8%
Python
43.6%
C
0.3%
JavaScript
0.2%
