mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-11 07:40:10 +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" => {
|
||||
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" => {
|
||||
let ecup_conn = env.xns.request_connection_blocking("__ECUP server__").unwrap();
|
||||
|
|
|
|||
Loading…
Reference in a new issue