mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
check in a version that breaks
This commit is contained in:
parent
534fb5373a
commit
17156e483c
1 changed files with 7 additions and 0 deletions
|
|
@ -120,6 +120,13 @@ impl Write for Uart {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn do_agent(cmd: &mut String<U2048>, com_cid: xous::CID) -> Result<(), xous::Error> {
|
fn do_agent(cmd: &mut String<U2048>, com_cid: xous::CID) -> Result<(), xous::Error> {
|
||||||
|
if true {
|
||||||
|
let tokens: Vec<&str, U16> = cmd.as_mut_str().split(' ').collect();
|
||||||
|
for token in tokens.iter() {
|
||||||
|
println!("token: {}", token);
|
||||||
|
}
|
||||||
|
return Ok(());
|
||||||
|
}
|
||||||
/*
|
/*
|
||||||
We want to do this:
|
We want to do this:
|
||||||
let tokens: Vec<&str, U16> = cmd.as_mut_str().split(' ').collect();
|
let tokens: Vec<&str, U16> = cmd.as_mut_str().split(' ').collect();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue