mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
format services/log-test-client
This commit is contained in:
parent
84ec9f7fd0
commit
5a549044b9
1 changed files with 3 additions and 2 deletions
|
|
@ -1,13 +1,14 @@
|
|||
#![cfg_attr(target_os = "none", no_std)]
|
||||
#![cfg_attr(target_os = "none", no_main)]
|
||||
|
||||
use xous::StringBuffer;
|
||||
use core::fmt::Write;
|
||||
|
||||
use xous::StringBuffer;
|
||||
|
||||
fn main() -> ! {
|
||||
let connection = xous::connect(xous::SID::from_bytes(b"xous-log-server ").unwrap()).unwrap();
|
||||
|
||||
let mut log_string= StringBuffer::new();
|
||||
let mut log_string = StringBuffer::new();
|
||||
for i in 0.. {
|
||||
log_string.clear();
|
||||
writeln!(log_string, "Hello, world! Loop {}", i).unwrap();
|
||||
|
|
|
|||
Loading…
Reference in a new issue