visually better with the delay, but need to figure out why it takes so long now.

This commit is contained in:
bunnie 2022-02-05 02:46:24 +08:00
parent 3b6a696fc4
commit 2a2e305c7b

View file

@ -471,7 +471,7 @@ fn xmain() -> ! {
let tt = ticktimer_server::Ticktimer::new().unwrap();
#[cfg(not(any(windows, unix)))] // skip this step if running in hosted mode, for now...
if pddb_os.rootkeys_initialized() {
tt.sleep_ms(1000).unwrap(); // wait after boot before attempting to mount, to let the boot screen finish redrawing (cosmetic issue).
tt.sleep_ms(6000).unwrap(); // wait after boot before attempting to mount, to let the boot screen finish redrawing (cosmetic issue).
match ensure_password(&modals, &mut pddb_os) {
PasswordState::Correct => {
try_mount_or_format(&modals, &mut pddb_os, &mut basis_cache, PasswordState::Correct);