Skip to content

Commit

Permalink
On picopass timeout, show read error screen
Browse files Browse the repository at this point in the history
  • Loading branch information
bettse committed Oct 16, 2024
1 parent c4bc702 commit 2b020b2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions seader_worker.c
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,10 @@ NfcCommand seader_worker_poller_callback_picopass(PicopassPollerEvent event, voi
seader_worker_poller_conversation(seader, &spc);
} else if(seader_worker->stage == SeaderPollerEventTypeComplete) {
ret = NfcCommandStop;
} else if(seader_worker->stage == SeaderPollerEventTypeFail) {
view_dispatcher_send_custom_event(
seader->view_dispatcher, SeaderCustomEventWorkerExit);
ret = NfcCommandStop;
}
} else if(event.type == PicopassPollerEventTypeFail) {
ret = NfcCommandStop;
Expand Down

0 comments on commit 2b020b2

Please sign in to comment.