Implement Auto Reboot Timer (#518) (#519)

* Implement Auto Reboot Timer (#518)

* Use > to check for values below -1

* Use TimeoutHelper and accept MS

* Add fatal_auto_reboot_interval into config (commented)

* Check for 0
This commit is contained in:
Sun
2019-04-22 00:18:01 -07:00
committed by SciresM
parent a09c08994f
commit be4ca7eee5
4 changed files with 16 additions and 1 deletions

View File

@@ -6,6 +6,9 @@ upload_enabled = u8!0x0
usb30_force_enabled = u8!0x0
; Atmosphere custom settings
[atmosphere]
; Reboot from fatal automatically after 5 seconds (in milliseconds)
; If field is disabled fatal waits for an input indefinitely
; fatal_auto_reboot_interval = u64!5000
; Make the power menu's "reboot" button reboot to payload.
; Set to "normal" for normal reboot, "rcm" for rcm reboot.
power_menu_reboot_function = str!payload