return the key hit to the listener of the notification

This commit is contained in:
bunnie 2022-06-01 22:32:03 +08:00
parent da06d95acd
commit 27c4d5e01d

View file

@ -195,7 +195,7 @@ impl ActionApi for Notification {
if self.manual_dismiss {
send_message(
self.action_conn,
xous::Message::new_scalar(self.action_opcode as usize, 0, 0, 0, 0),
xous::Message::new_scalar(self.action_opcode as usize, k as u32 as usize, 0, 0, 0),
)
.expect("couldn't pass on dismissal");
return (None, true);