narrow up the time for pddb to request password box

now that excess redraws on boot have been ferretted out
This commit is contained in:
bunnie 2022-02-05 19:00:34 +08:00
parent fd5c6568d1
commit 5ef0d9f159
2 changed files with 2 additions and 2 deletions

View file

@ -206,7 +206,7 @@ pub fn deface(gfx: &graphics_server::Gfx, trng: &trng::Trng, canvases: &mut Hash
}
}
if needs_defacing {
log::debug!("doing a deface computation!");
log::info!("doing a deface computation!");
let screensize = gfx.screen_size().unwrap();
let screen_rect = Rectangle::new(Point::new(0, 0,), screensize);

View file

@ -473,7 +473,7 @@ fn xmain() -> ! {
let my_cid = my_cid.clone();
move || {
let tt = ticktimer_server::Ticktimer::new().unwrap();
tt.sleep_ms(5000).unwrap(); // wait after boot before attempting to mount, to let the boot screen finish redrawing
tt.sleep_ms(4000).unwrap(); // wait after boot before attempting to mount, to let the boot screen finish redrawing
send_message(my_cid,
Message::new_blocking_scalar(Opcode::TryMount.to_usize().unwrap(), 0, 0, 0, 0)
).expect("couldn't send mount request");