diff --git a/code/espurna/ota_httpupdate.ino b/code/espurna/ota_httpupdate.ino index 53ffee27..6cb2b49a 100644 --- a/code/espurna/ota_httpupdate.ino +++ b/code/espurna/ota_httpupdate.ino @@ -186,7 +186,7 @@ void _otaClientFrom(const String& url) { return; } - #if SECURE_CLIENT_SUPPORT + #if SECURE_CLIENT != SECURE_CLIENT_NONE if (url.startsWith("https://")) { _otaClientFromHttps(url); return;