mirror of
https://github.com/esphome/esphome.git
synced 2026-09-15 17:18:40 +00:00
align
This commit is contained in:
@@ -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};
|
||||
|
||||
Reference in New Issue
Block a user