NFC: fix crash on MFC read (#1993)

* nfc: fix nfc_worker_stop logic
* nfc: fix stop order

Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
gornekich
2022-11-09 22:12:55 +04:00
committed by GitHub
parent c89e5e11a4
commit 3985b456c3
2 changed files with 5 additions and 6 deletions

View File

@@ -7,7 +7,6 @@ typedef struct NfcWorker NfcWorker;
typedef enum {
// Init states
NfcWorkerStateNone,
NfcWorkerStateBroken,
NfcWorkerStateReady,
// Main worker states
NfcWorkerStateRead,