diff --git a/apps/vault/src/totp.rs b/apps/vault/src/totp.rs index 82708ead6..d24d450fa 100644 --- a/apps/vault/src/totp.rs +++ b/apps/vault/src/totp.rs @@ -151,10 +151,10 @@ pub(crate) fn pumper(mode: Arc>, sid: xous::SID, main_conn: xou log::trace!("{:?}", opcode); match opcode { Some(PumpOp::Pump) => { - send_message(main_conn, + try_send_message(main_conn, Message::new_scalar(crate::VaultOp::Redraw.to_usize().unwrap(), 0, 0, 0, 0) - ).expect("couldn't pump redraw"); + ).ok(); // don't panic if the queue overflows let mode_cache = {(*mode.lock().unwrap()).clone()}; { // we really want mode.lock() to be in a different scope so... if mode_cache == VaultMode::Totp {