Removes timer updates from CTAP API (#597)

* Removes timer updates from CTAP API

* helper function for timer check
This commit is contained in:
kaczmarczyck
2023-03-01 14:30:04 +01:00
committed by GitHub
parent 73c60d8740
commit 9a2ef0bf75
4 changed files with 24 additions and 25 deletions

View File

@@ -213,9 +213,8 @@ fn main() {
drop(buttons_callback);
}
// These calls are making sure that even for long inactivity, wrapping clock values
// This call is making sure that even for long inactivity, wrapping clock values
// don't cause problems with timers.
ctap.update_timeouts();
ctap.env().clock().tickle();
if let Some(endpoint) = usb_endpoint {