mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
improve debug output on modals
This commit is contained in:
parent
e33c7b9ecc
commit
ebd636d324
1 changed files with 3 additions and 2 deletions
|
|
@ -155,8 +155,9 @@ fn wrapped_main() -> ! {
|
|||
|
||||
loop {
|
||||
let mut msg = xous::receive_message(modals_sid).unwrap();
|
||||
log::debug!("message: {:?}", msg);
|
||||
match FromPrimitive::from_usize(msg.body.id()) {
|
||||
let opcode: Option<Opcode> = FromPrimitive::from_usize(msg.body.id());
|
||||
log::debug!("{:?}", opcode);
|
||||
match opcode {
|
||||
// ------------------ EXTERNAL APIS --------------------
|
||||
Some(Opcode::GetMutex) => msg_blocking_scalar_unpack!(msg, t0, t1, t2, t3, {
|
||||
let incoming_token = [t0 as u32, t1 as u32, t2 as u32, t3 as u32];
|
||||
|
|
|
|||
Loading…
Reference in a new issue