[FL-1214] nfc_worker fix emulation
This commit is contained in:
parent
3671c68b79
commit
588480831a
@ -185,6 +185,7 @@ void nfc_worker_emulate(NfcWorker* nfc_worker) {
|
|||||||
params.lmConfigPA.SENS_RES[0] = 0x44;
|
params.lmConfigPA.SENS_RES[0] = 0x44;
|
||||||
params.lmConfigPA.SENS_RES[1] = 0x00;
|
params.lmConfigPA.SENS_RES[1] = 0x00;
|
||||||
params.lmConfigPA.SEL_RES = 0x00;
|
params.lmConfigPA.SEL_RES = 0x00;
|
||||||
|
api_hal_nfc_exit_sleep();
|
||||||
|
|
||||||
ReturnCode ret;
|
ReturnCode ret;
|
||||||
ret = rfalNfcDiscover(¶ms);
|
ret = rfalNfcDiscover(¶ms);
|
||||||
@ -204,6 +205,7 @@ void nfc_worker_emulate(NfcWorker* nfc_worker) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
rfalNfcDeactivate(false);
|
rfalNfcDeactivate(false);
|
||||||
|
api_hal_nfc_start_sleep();
|
||||||
}
|
}
|
||||||
|
|
||||||
void nfc_worker_field(NfcWorker* nfc_worker) {
|
void nfc_worker_field(NfcWorker* nfc_worker) {
|
||||||
|
Loading…
Reference in New Issue
Block a user