fix missing path to try_send_message

This commit is contained in:
bunnie 2022-08-11 03:11:47 +08:00
parent 548f4b059d
commit 6fff73ace8

View file

@ -151,7 +151,7 @@ pub(crate) fn pumper(mode: Arc<Mutex<VaultMode>>, sid: xous::SID, main_conn: xou
log::trace!("{:?}", opcode);
match opcode {
Some(PumpOp::Pump) => {
try_send_message(main_conn,
xous::try_send_message(main_conn,
Message::new_scalar(crate::VaultOp::Redraw.to_usize().unwrap(),
0, 0, 0, 0)
).ok(); // don't panic if the queue overflows