From 090275015b736f1bb98deaaece09d0a01bd14d86 Mon Sep 17 00:00:00 2001 From: Lunalik <40746746+lunalik2@users.noreply.github.com> Date: Wed, 28 Nov 2018 21:45:45 -0500 Subject: [PATCH] Update main.c --- bootloader/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bootloader/main.c b/bootloader/main.c index e2ecc18..3b00524 100644 --- a/bootloader/main.c +++ b/bootloader/main.c @@ -2493,6 +2493,8 @@ 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)