mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
make testing a little more ergonomic
This commit is contained in:
parent
ef5c05683c
commit
08de49dab1
1 changed files with 3 additions and 1 deletions
|
|
@ -666,7 +666,9 @@ impl<'a> ShellCmdApi<'a> for Test {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
"hpstate" => {
|
"hpstate" => {
|
||||||
write!(ret, "HP state: {:?}", self.codec.poll_headphone_state()).ok();
|
let state = self.codec.poll_headphone_state();
|
||||||
|
log::info!("{:?}", state);
|
||||||
|
write!(ret, "{:?}", state).ok();
|
||||||
}
|
}
|
||||||
"ecup" => {
|
"ecup" => {
|
||||||
let ecup_conn = env.xns.request_connection_blocking("__ECUP server__").unwrap();
|
let ecup_conn = env.xns.request_connection_blocking("__ECUP server__").unwrap();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue