diff --git a/services/shellchat/src/cmds/test.rs b/services/shellchat/src/cmds/test.rs index 9e845b089..719c99c53 100644 --- a/services/shellchat/src/cmds/test.rs +++ b/services/shellchat/src/cmds/test.rs @@ -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();