mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
improve debug output on graphics-server
This commit is contained in:
parent
1c9e2e16e7
commit
d58ef8c1df
1 changed files with 3 additions and 2 deletions
|
|
@ -206,8 +206,9 @@ fn wrapped_main(main_thread_token: backend::MainThreadToken) -> ! {
|
|||
if !is_panic.load(Ordering::Relaxed) {
|
||||
// non-panic graphics operations if we are in a panic situation
|
||||
let mut msg = xous::receive_message(sid).unwrap();
|
||||
log::trace!("Message: {:?}", msg);
|
||||
match FromPrimitive::from_usize(msg.body.id()) {
|
||||
let op = FromPrimitive::from_usize(msg.body.id());
|
||||
log::trace!("{:?}", op);
|
||||
match op {
|
||||
#[cfg(not(feature = "cramium-soc"))]
|
||||
Some(Opcode::SuspendResume) => xous::msg_scalar_unpack!(msg, token, _, _, _, {
|
||||
display.suspend();
|
||||
|
|
|
|||
Loading…
Reference in a new issue