From 0b54b7df40c86f7496a8f96fe40629225602d2c8 Mon Sep 17 00:00:00 2001 From: Christian Baars Date: Tue, 14 Nov 2023 08:52:09 +0100 Subject: [PATCH] fix compilation without PARTITION_WIZARD (#20009) --- tasmota/tasmota_xdrv_driver/xdrv_52_9_berry.ino | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasmota/tasmota_xdrv_driver/xdrv_52_9_berry.ino b/tasmota/tasmota_xdrv_driver/xdrv_52_9_berry.ino index c4505b0af..b31b17ade 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_52_9_berry.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_52_9_berry.ino @@ -761,6 +761,7 @@ void HandleBerryConsole(void) WSContentStop(); } +#ifdef USE_BERRY_PARTITION_WIZARD // Display a Button to dynamically load the Partition Wizard void HandleBerryPartiionWizardLoaderButton(void) { bvm * vm = berry.vm; @@ -785,6 +786,7 @@ void HandleBerryPartitionWizardLoader(void) { Webserver->send(302, "text/plain", ""); } } +#endif //USE_BERRY_PARTITION_WIZARD // return true if successful bool BerryBECLoader(const char * url) {