Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
nickray committed Jan 6, 2021
1 parent 33c7739 commit 9669a4a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions platform/lpc55/src/app_rtic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ const APP: () = {
fn nfc_wait_extension(c: nfc_wait_extension::Context) {
let nfc_wait_extension::Resources {
contactless,
perf_timer: _,
perf_timer: _perf_timer,
hw_scheduler,
}
= c.resources;
Expand All @@ -253,15 +253,15 @@ const APP: () = {
// clear the interrupt
hw_scheduler.cancel().ok();

info!("<{}", perf_timer.lap().0/100);
info!("<{}", _perf_timer.lap().0/100);
let status = contactless.poll_wait_extensions();
match status {
iso14443::Iso14443Status::Idle => {}
iso14443::Iso14443Status::ReceivedData(duration) => {
hw_scheduler.start(duration.subsec_millis().ms());
}
}
info!(" {}>", perf_timer.lap().0/100);
info!(" {}>", _perf_timer.lap().0/100);
}
}

Expand Down

0 comments on commit 9669a4a

Please sign in to comment.