mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
examples: add blockingscalar to message types
Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
4a8590d336
commit
10526c6be9
1 changed files with 3 additions and 0 deletions
|
|
@ -216,6 +216,9 @@ fn reader_thread(mut output: implementation::OutputWriter) {
|
||||||
xous::Message::Scalar(msg) => {
|
xous::Message::Scalar(msg) => {
|
||||||
writeln!(output, "LOG: Scalar message from {}: {:?}", envelope.sender, msg).unwrap();
|
writeln!(output, "LOG: Scalar message from {}: {:?}", envelope.sender, msg).unwrap();
|
||||||
}
|
}
|
||||||
|
xous::Message::BlockingScalar(msg) => {
|
||||||
|
writeln!(output, "LOG: BlockingScalar message from {}: {:?}", envelope.sender, msg).unwrap();
|
||||||
|
}
|
||||||
xous::Message::Move(msg) => {
|
xous::Message::Move(msg) => {
|
||||||
let log_entry = LogString::from_message(msg);
|
let log_entry = LogString::from_message(msg);
|
||||||
writeln!(
|
writeln!(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue