Skip to content

Commit

Permalink
Check for SeaderPollerEventTypeFail
Browse files Browse the repository at this point in the history
  • Loading branch information
bettse committed Jul 27, 2024
1 parent b28f155 commit 16fa7cd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions seader_worker.c
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,11 @@ NfcCommand seader_worker_poller_callback_iso14443_4a(NfcGenericEvent event, void
seader_worker_poller_conversation(seader, &spc);
} else if(seader_worker->stage == SeaderPollerEventTypeComplete) {
ret = NfcCommandStop;
} else if(seader_worker->stage == SeaderPollerEventTypeFail) {
ret = NfcCommandStop;
view_dispatcher_send_custom_event(
seader->view_dispatcher, SeaderCustomEventWorkerExit);
FURI_LOG_W(TAG, "SeaderPollerEventTypeFail");
}
} else if(iso14443_4a_event->type == Iso14443_4aPollerEventTypeError) {
Iso14443_4aPollerEventData* data = iso14443_4a_event->data;
Expand Down

0 comments on commit 16fa7cd

Please sign in to comment.