This commit is contained in:
J. Nick Koston
2026-04-29 12:38:53 -05:00
parent 869d900ba6
commit a97b591c8c
+2 -1
View File
@@ -92,9 +92,10 @@ class ESPHomeOTAComponent final : public ota::OTAComponent {
std::unique_ptr<uint8_t[]> auth_buf_;
#endif // USE_OTA_PASSWORD
#ifdef USE_OTA_PARTITIONS
bool extended_proto_{false};
// 4-byte members first, 1-byte member last to minimize padding.
uint32_t running_app_offset_{0};
size_t running_app_size_{0};
bool extended_proto_{false};
#endif
socket::ListenSocket *server_{nullptr};