Skip to content

Commit 7f7306b

Browse files
committed
aboot: Do not call display_fastboot_menu() if WITH_LK2ND_DEVICE_MENU
This fixes fastboot not responding after `fastboot boot` fails.
1 parent dc377ff commit 7f7306b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/aboot/aboot.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3480,7 +3480,7 @@ void cmd_boot(const char *arg, void *data, unsigned sz)
34803480
/* fastboot already stop, it's no need to show fastboot menu */
34813481
return;
34823482
boot_failed:
3483-
#if FBCON_DISPLAY_MSG || WITH_LK2ND_DEVICE_MENU
3483+
#if FBCON_DISPLAY_MSG
34843484
/* revert to fastboot menu if boot failed */
34853485
display_fastboot_menu();
34863486
#endif

0 commit comments

Comments
 (0)