mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
make keyboard observer send messages falliable
this is a partial work around for the status server queue overflow problem on boot while handling user interactions in the auto-update flow.
This commit is contained in:
parent
93ebdbcc4f
commit
907ac038ff
1 changed files with 2 additions and 2 deletions
|
|
@ -964,7 +964,7 @@ fn main() -> ! {
|
|||
|
||||
if observer_conn.is_some() && observer_op.is_some() {
|
||||
log::trace!("sending observer key");
|
||||
xous::send_message(observer_conn.unwrap(),
|
||||
xous::try_send_message(observer_conn.unwrap(),
|
||||
xous::Message::new_scalar(
|
||||
observer_op.unwrap(),
|
||||
0,
|
||||
|
|
@ -972,7 +972,7 @@ fn main() -> ! {
|
|||
0,
|
||||
0,
|
||||
)
|
||||
).expect("couldn't send key codes to listener");
|
||||
).ok();
|
||||
}
|
||||
|
||||
#[cfg(all(feature="debuginject", not(feature="rawserial")))]
|
||||
|
|
|
|||
Loading…
Reference in a new issue