Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/flipperzero-firmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgornekich <n.gorbadey@gmail.com>2021-05-13 16:47:55 +0300
committerGitHub <noreply@github.com>2021-05-13 16:47:55 +0300
commit588480831aa69d0450393d7fc7cfd6b33516e45c (patch)
treefd51a8d7b2d1919bbc125376321917811a051374 /applications/nfc/nfc_worker.c
parent3671c68b796379f1e8a691f72ddc04fd1fef1df3 (diff)
[FL-1214] nfc_worker fix emulation
Diffstat (limited to 'applications/nfc/nfc_worker.c')
-rw-r--r--applications/nfc/nfc_worker.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/applications/nfc/nfc_worker.c b/applications/nfc/nfc_worker.c
index fa4e3f35..3f5193b5 100644
--- a/applications/nfc/nfc_worker.c
+++ b/applications/nfc/nfc_worker.c
@@ -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) {