We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51a4fe0 commit 1f5ad3cCopy full SHA for 1f5ad3c
lk2nd/device/menu/menu.c
@@ -123,7 +123,13 @@ static uint16_t wait_key(void)
123
124
static void opt_continue(void) { cmd_continue(NULL, NULL, 0); }
125
static void opt_reboot(void) { reboot_device(0); }
126
-static void opt_recovery(void) { reboot_device(RECOVERY_MODE); }
+static void opt_recovery(void)
127
+{
128
+ extern unsigned boot_into_recovery;
129
+
130
+ boot_into_recovery = 1;
131
+ cmd_continue(NULL, NULL, 0);
132
+}
133
static void opt_bootloader(void) { reboot_device(FASTBOOT_MODE); }
134
static void opt_edl(void) { reboot_device(EMERGENCY_DLOAD); }
135
static void opt_shutdown(void) { shutdown_device(); }
0 commit comments