ahem...actually harmonize

This commit is contained in:
bunnie 2024-05-29 13:49:59 +08:00
parent ebd0f69d20
commit 46cdbcf18d

View file

@ -27,8 +27,9 @@ fn keyboard_service() {
loop {
let msg = xous::receive_message(kbd_sid).unwrap(); // this blocks until we get a message
log::debug!("Message: {:?}", msg);
match FromPrimitive::from_usize(msg.body.id()) {
let op = FromPrimitive::from_usize(msg.body.id());
log::debug!("{:?}", op);
match op {
Some(KeyboardOpcode::BlockingKeyListener) => {
blocking_listener.push(msg.sender);
}