From 3c70b728ace0e3b8fc931d899a895ed17e9be8d9 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Fri, 28 Mar 2025 13:58:22 +0100 Subject: [PATCH] Fix ESP32 compile without webserver --- tasmota/tasmota_xdrv_driver/xdrv_52_9_berry.ino | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tasmota/tasmota_xdrv_driver/xdrv_52_9_berry.ino b/tasmota/tasmota_xdrv_driver/xdrv_52_9_berry.ino index 821b90093..b79acfe4c 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_52_9_berry.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_52_9_berry.ino @@ -898,6 +898,13 @@ extern "C" bbool BerryBECLoader(const char * url) { return true; } +#else // No USE_WEBSERVER + +extern "C" bbool BerryBECLoader(const char * url) { + AddLog(LOG_LEVEL_INFO, "BRY: web server disabled"); + return false; +} + #endif // USE_WEBSERVER /*********************************************************************************************\