fix compilation without PARTITION_WIZARD (#20009)

This commit is contained in:
Christian Baars 2023-11-14 08:52:09 +01:00 committed by GitHub
parent 7e384ebff8
commit 0b54b7df40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {