Enter bootloader with dualboot switch --nobuild

This commit is contained in:
Willy-JL
2023-09-01 03:43:32 +02:00
parent bccd7a3e4a
commit abbc6f15a1

View File

@@ -82,10 +82,14 @@ bool esp_flasher_scene_start_on_event(void* context, SceneManagerEvent event) {
scene_manager_next_scene(app->scene_manager, EspFlasherSceneQuick);
consumed = true;
} else if(event.event == SubmenuIndexEspFlasherSwitchA) {
app->boot = true;
app->quickflash = true;
app->switch_fw = SwitchToFirmwareA;
scene_manager_next_scene(app->scene_manager, EspFlasherSceneConsoleOutput);
consumed = true;
} else if(event.event == SubmenuIndexEspFlasherSwitchB) {
app->boot = true;
app->quickflash = true;
app->switch_fw = SwitchToFirmwareB;
scene_manager_next_scene(app->scene_manager, EspFlasherSceneConsoleOutput);
consumed = true;