mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
add a quick and dirty test command for headphone state
This commit is contained in:
parent
04f700ac29
commit
ef5c05683c
1 changed files with 3 additions and 0 deletions
|
|
@ -665,6 +665,9 @@ impl<'a> ShellCmdApi<'a> for Test {
|
|||
Err(e) => log::error!("couldn't get input: {:?}", e),
|
||||
}
|
||||
}
|
||||
"hpstate" => {
|
||||
write!(ret, "HP state: {:?}", self.codec.poll_headphone_state()).ok();
|
||||
}
|
||||
"ecup" => {
|
||||
let ecup_conn = env.xns.request_connection_blocking("__ECUP server__").unwrap();
|
||||
xous::send_message(ecup_conn,
|
||||
|
|
|
|||
Loading…
Reference in a new issue