Skip to content

Commit 27bde43

Browse files
me-cafebabestephan-gh
authored andcommitted
aboot: fastboot reboot-{recovery,fastboot} should reboot into recovery
1 parent d81ad9c commit 27bde43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/aboot/aboot.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4751,7 +4751,7 @@ void cmd_reboot_fastboot(const char *arg, void *data, unsigned sz)
47514751
return;
47524752
}
47534753
fastboot_okay("");
4754-
reboot_device(REBOOT_MODE_UNKNOWN);
4754+
reboot_device(RECOVERY_MODE);
47554755

47564756
//shouldn't come here.
47574757
dprintf(CRITICAL, "ERROR: Failed to reboot device\n");
@@ -4767,7 +4767,7 @@ void cmd_reboot_recovery(const char *arg, void *data, unsigned sz)
47674767
return;
47684768
}
47694769
fastboot_okay("");
4770-
reboot_device(REBOOT_MODE_UNKNOWN);
4770+
reboot_device(RECOVERY_MODE);
47714771

47724772
//shouldn't come here.
47734773
dprintf(CRITICAL, "ERROR: Failed to reboot device\n");

0 commit comments

Comments
 (0)