1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-29 22:24:26 +00:00
This commit is contained in:
J. Nick Koston
2025-09-26 22:10:41 -05:00
parent e0f99e0596
commit 3bec6efdc3

View File

@@ -64,14 +64,14 @@ class ESPHomeOTAComponent : public ota::OTAComponent {
std::unique_ptr<socket::Socket> server_;
std::unique_ptr<socket::Socket> client_;
std::unique_ptr<ota::OTABackend> backend_;
OTAState ota_state_{OTAState::IDLE};
uint32_t client_connect_time_{0};
uint16_t port_;
uint8_t handshake_buf_[5];
OTAState ota_state_{OTAState::IDLE};
uint8_t handshake_buf_pos_{0};
uint8_t ota_features_{0};
std::unique_ptr<ota::OTABackend> backend_;
};
} // namespace esphome