mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
ahem...actually harmonize
This commit is contained in:
parent
ebd0f69d20
commit
46cdbcf18d
1 changed files with 3 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue