mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-14 14:38:35 -07:00
Enter bootloader with dualboot switch --nobuild
This commit is contained in:
@@ -82,10 +82,14 @@ bool esp_flasher_scene_start_on_event(void* context, SceneManagerEvent event) {
|
|||||||
scene_manager_next_scene(app->scene_manager, EspFlasherSceneQuick);
|
scene_manager_next_scene(app->scene_manager, EspFlasherSceneQuick);
|
||||||
consumed = true;
|
consumed = true;
|
||||||
} else if(event.event == SubmenuIndexEspFlasherSwitchA) {
|
} else if(event.event == SubmenuIndexEspFlasherSwitchA) {
|
||||||
|
app->boot = true;
|
||||||
|
app->quickflash = true;
|
||||||
app->switch_fw = SwitchToFirmwareA;
|
app->switch_fw = SwitchToFirmwareA;
|
||||||
scene_manager_next_scene(app->scene_manager, EspFlasherSceneConsoleOutput);
|
scene_manager_next_scene(app->scene_manager, EspFlasherSceneConsoleOutput);
|
||||||
consumed = true;
|
consumed = true;
|
||||||
} else if(event.event == SubmenuIndexEspFlasherSwitchB) {
|
} else if(event.event == SubmenuIndexEspFlasherSwitchB) {
|
||||||
|
app->boot = true;
|
||||||
|
app->quickflash = true;
|
||||||
app->switch_fw = SwitchToFirmwareB;
|
app->switch_fw = SwitchToFirmwareB;
|
||||||
scene_manager_next_scene(app->scene_manager, EspFlasherSceneConsoleOutput);
|
scene_manager_next_scene(app->scene_manager, EspFlasherSceneConsoleOutput);
|
||||||
consumed = true;
|
consumed = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user