This commit is contained in:
J. Nick Koston
2025-09-27 01:52:34 -05:00
parent 91adbc2466
commit 8b98ed16e9
@@ -789,6 +789,10 @@ size_t ESPHomeOTAComponent::get_auth_hex_size_() const {
#endif
#ifdef USE_OTA_MD5
return MD5_HEX_SIZE;
#else
#ifndef USE_OTA_SHA256
#error "Either USE_OTA_MD5 or USE_OTA_SHA256 must be defined when USE_OTA_PASSWORD is enabled"
#endif
#endif
}