mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-23 13:03:13 +00:00
[FL-1214] nfc_worker fix emulation
This commit is contained in:
parent
3671c68b79
commit
588480831a
1 changed files with 2 additions and 0 deletions
|
@ -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(¶ms);
|
||||
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue