mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
update ctap timeouts in the main loop
This is necessary because there are some timed permissions that must expire over time that are not asynchronous like the user presence tests.
This commit is contained in:
parent
7cd2512e95
commit
e64351569f
1 changed files with 1 additions and 0 deletions
|
|
@ -183,6 +183,7 @@ fn main() -> ! {
|
|||
loop {
|
||||
match ctap.env().main_hid_connection().u2f_wait_incoming() {
|
||||
Ok(msg) => {
|
||||
ctap.update_timeouts(Instant::now());
|
||||
let mutex = opensk_mutex.lock().unwrap();
|
||||
log::trace!("Received U2F packet");
|
||||
let typed_reply = ctap.process_hid_packet(&msg.packet, Transport::MainHid, Instant::now());
|
||||
|
|
|
|||
Loading…
Reference in a new issue