mirror of
https://github.com/esphome/esphome.git
synced 2026-09-13 16:18:41 +00:00
4490bbf23a87139cf13c07c977583a8ec12f1450
Splits the non-destructive validation phase out of update_partition_table() into a dedicated method. update_partition_table() now reads top-down as "check buffer state, find running app, validate the new table + plan the target slot, then commit", with the destructive write isolated to the final block. The chosen slot and optional copy-source partition are returned via a small PartitionTablePlan struct so the caller no longer juggles the two candidate-index variables. Refactor only; behaviour and error semantics are unchanged.
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
593 MiB
Languages
C++
55.8%
Python
43.6%
C
0.3%
JavaScript
0.2%
