From 588480831aa69d0450393d7fc7cfd6b33516e45c Mon Sep 17 00:00:00 2001 From: gornekich Date: Thu, 13 May 2021 16:47:55 +0300 Subject: [PATCH] [FL-1214] nfc_worker fix emulation --- applications/nfc/nfc_worker.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/applications/nfc/nfc_worker.c b/applications/nfc/nfc_worker.c index fa4e3f35b..3f5193b55 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(¶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) {