From 73b619687378e62d500f32d28d66a962d360c92c Mon Sep 17 00:00:00 2001 From: Lunalik <40746746+lunalik2@users.noreply.github.com> Date: Tue, 27 Nov 2018 18:11:10 -0500 Subject: [PATCH] Update main.c --- bootloader/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bootloader/main.c b/bootloader/main.c index e2ecc18..99cec18 100644 --- a/bootloader/main.c +++ b/bootloader/main.c @@ -2493,6 +2493,9 @@ void auto_launch_firmware() if (btn & BTN_VOL_DOWN) goto out; + + if (btn & BTN_VOL_UP) + power_off(); ini_free(&ini_sections); if (h_cfg.autoboot_list)