reduce memory

This commit is contained in:
J. Nick Koston
2026-05-01 09:05:46 -05:00
parent 23ac2ead27
commit 4c9260d96d
+1 -1
View File
@@ -91,7 +91,6 @@ class ESPHomeOTAComponent final : public ota::OTAComponent {
std::string password_;
std::unique_ptr<uint8_t[]> auth_buf_;
#endif // USE_OTA_PASSWORD
bool extended_proto_{false};
socket::ListenSocket *server_{nullptr};
std::unique_ptr<socket::Socket> client_;
@@ -107,6 +106,7 @@ class ESPHomeOTAComponent final : public ota::OTAComponent {
uint8_t auth_buf_pos_{0};
uint8_t auth_type_{0}; // Store auth type to know which hasher to use
#endif // USE_OTA_PASSWORD
bool extended_proto_{false};
};
} // namespace esphome