mirror of
https://github.com/solokeys/admin-app.git
synced 2026-06-20 13:16:17 -07:00
Increase timeout for reboot to bootloader
Previously, we had a timeout of 15 seconds for the user presence check when rebooting to bootloader. This can be too short in some situations, see for example https://github.com/Nitrokey/nitrokey-3-firmware/issues/519. This patch increases the timeout to 30 seconds.
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@ use trussed::{interrupt::InterruptFlag, store::filestore::Filestore, syscall, ty
|
||||
use crate::config::{self, Config, ConfigError};
|
||||
use crate::migrations::Migrator;
|
||||
|
||||
pub const USER_PRESENCE_TIMEOUT_SECS: u32 = 15;
|
||||
pub const USER_PRESENCE_TIMEOUT_SECS: u32 = 30;
|
||||
|
||||
// New commands are only available over this vendor command (acting as a namespace for this
|
||||
// application). The actual application command is stored in the first byte of the packet data.
|
||||
|
||||
Reference in New Issue
Block a user