Skip to content

Commit

Permalink
fix compilation without PARTITION_WIZARD (#20009)
Browse files Browse the repository at this point in the history
  • Loading branch information
Staars authored Nov 14, 2023
1 parent 7e384eb commit 0b54b7d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tasmota/tasmota_xdrv_driver/xdrv_52_9_berry.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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) {
Expand Down

0 comments on commit 0b54b7d

Please sign in to comment.