aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2019-09-26 08:49:20 -0400
committerBrian Cully <bjc@kublai.com>2019-09-26 08:49:20 -0400
commitea196093f22c8d5d5f2d6bebf39496ccc4b6a1c8 (patch)
tree7a777f34c2966c52b24dfa0495dd6715ceed463c
parentdb5097b277153d256ec4ac2774d2d45d7867ad79 (diff)
downloadbootkbd-ea196093f22c8d5d5f2d6bebf39496ccc4b6a1c8.tar.gz
bootkbd-ea196093f22c8d5d5f2d6bebf39496ccc4b6a1c8.zip
Log FSM state changes at info.
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index dd50d61..50b481d 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -155,7 +155,7 @@ impl Device {
unsafe {
static mut LAST_STATE: DeviceState = DeviceState::Addressed;
if LAST_STATE != self.state {
- debug!("{:?} -> {:?}", LAST_STATE, self.state);
+ info!("{:?} -> {:?}", LAST_STATE, self.state);
LAST_STATE = self.state;
}
}