1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-29 00:22:21 +01:00
This commit is contained in:
J. Nick Koston
2025-09-26 23:41:40 -05:00
parent e5868a79a2
commit 2d6669068f

View File

@@ -84,7 +84,7 @@ class ESPHomeOTAComponent : public ota::OTAComponent {
uint8_t ota_features_{0}; uint8_t ota_features_{0};
#ifdef USE_OTA_PASSWORD #ifdef USE_OTA_PASSWORD
std::unique_ptr<uint8_t[]> auth_buf_; std::unique_ptr<uint8_t[]> auth_buf_;
size_t auth_buf_pos_{0}; uint8_t auth_buf_pos_{0};
uint8_t auth_type_{0}; // Store auth type to know which hasher to use uint8_t auth_type_{0}; // Store auth type to know which hasher to use
#endif // USE_OTA_PASSWORD #endif // USE_OTA_PASSWORD
}; };