mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-20 09:03:28 +00:00
log: print out received message
The syscall isn't hooked up yet, but we're ready for when it is. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
04eb18e2fb
commit
4597e5291c
1 changed files with 2 additions and 1 deletions
|
|
@ -74,6 +74,7 @@ fn main() {
|
||||||
|
|
||||||
loop {
|
loop {
|
||||||
println!("Waiting for an event...");
|
println!("Waiting for an event...");
|
||||||
xous::rsyscall(xous::SysCall::WaitEvent).expect("Couldn't call waitevent");
|
let msg = xous::syscall::receive_message(server_addr).expect("couldn't get address");
|
||||||
|
println!("Got message: {:?}", msg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue