mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +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) {
|
if !is_panic.load(Ordering::Relaxed) {
|
||||||
// non-panic graphics operations if we are in a panic situation
|
// non-panic graphics operations if we are in a panic situation
|
||||||
let mut msg = xous::receive_message(sid).unwrap();
|
let mut msg = xous::receive_message(sid).unwrap();
|
||||||
log::trace!("Message: {:?}", msg);
|
let op = FromPrimitive::from_usize(msg.body.id());
|
||||||
match FromPrimitive::from_usize(msg.body.id()) {
|
log::trace!("{:?}", op);
|
||||||
|
match op {
|
||||||
#[cfg(not(feature = "cramium-soc"))]
|
#[cfg(not(feature = "cramium-soc"))]
|
||||||
Some(Opcode::SuspendResume) => xous::msg_scalar_unpack!(msg, token, _, _, _, {
|
Some(Opcode::SuspendResume) => xous::msg_scalar_unpack!(msg, token, _, _, _, {
|
||||||
display.suspend();
|
display.suspend();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue