mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
rkyv-test-client: use new log_message_send()
Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
8760de0406
commit
f6c2ee4410
1 changed files with 5 additions and 0 deletions
|
|
@ -44,6 +44,11 @@ fn rkyv_test_client() -> ! {
|
||||||
write!(double_src, "12345678 Loop {} 🎉 你好", idx).unwrap();
|
write!(double_src, "12345678 Loop {} 🎉 你好", idx).unwrap();
|
||||||
log::info!("Doubling string {}", double_src);
|
log::info!("Doubling string {}", double_src);
|
||||||
log::info!("Doubled string: {}", rkyv_test_server::double_string(&double_src));
|
log::info!("Doubled string: {}", rkyv_test_server::double_string(&double_src));
|
||||||
|
|
||||||
|
let sent_str = xous::String::<32>::from_str("This got moved");
|
||||||
|
log::info!("Sending a string \"{}\"", sent_str);
|
||||||
|
rkyv_test_server::log_message("prefix", sent_str);
|
||||||
|
|
||||||
idx += 1;
|
idx += 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue