[Nyx] Add button to force HOS boot screen logs

This commit is contained in:
ctcaer@gmail.com
2019-07-06 22:34:03 +03:00
parent 078ef1c4f1
commit 2bb0dba724
2 changed files with 34 additions and 2 deletions

View File

@@ -961,11 +961,13 @@ void auto_launch_firmware()
free(BOOTLOGO);
}
if (!h_cfg.sept_run && h_cfg.bootwait)
if (b_cfg.boot_cfg & BOOT_CFG_FROM_LAUNCH)
display_backlight_brightness(h_cfg.backlight, 0);
else if (!h_cfg.sept_run && h_cfg.bootwait)
display_backlight_brightness(h_cfg.backlight, 1000);
// Wait before booting. If VOL- is pressed go into bootloader menu.
if (!h_cfg.sept_run)
if (!h_cfg.sept_run && !(b_cfg.boot_cfg & BOOT_CFG_FROM_LAUNCH))
{
btn = btn_wait_timeout(h_cfg.bootwait * 1000, BTN_VOL_DOWN);