diff --git a/services/shellchat/src/cmds/test.rs b/services/shellchat/src/cmds/test.rs index 6dc1c733f..9e845b089 100644 --- a/services/shellchat/src/cmds/test.rs +++ b/services/shellchat/src/cmds/test.rs @@ -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,