[FL-1214] nfc_worker fix emulation

This commit is contained in:
gornekich 2021-05-13 16:47:55 +03:00 committed by GitHub
parent 3671c68b79
commit 588480831a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -185,6 +185,7 @@ void nfc_worker_emulate(NfcWorker* nfc_worker) {
params.lmConfigPA.SENS_RES[0] = 0x44;
params.lmConfigPA.SENS_RES[1] = 0x00;
params.lmConfigPA.SEL_RES = 0x00;
api_hal_nfc_exit_sleep();
ReturnCode ret;
ret = rfalNfcDiscover(&params);
@ -204,6 +205,7 @@ void nfc_worker_emulate(NfcWorker* nfc_worker) {
}
rfalNfcDeactivate(false);
api_hal_nfc_start_sleep();
}
void nfc_worker_field(NfcWorker* nfc_worker) {