fixup! MRTD use reader_analyzer instead of deprecated debug_pcap_worker

Clean up reader_analyzer after usage
This commit is contained in:
Chris van Marle
2022-10-11 22:13:21 +02:00
parent 6b968f7fea
commit d9399c6559
+4
View File
@@ -316,6 +316,10 @@ static bool nfc_worker_read_mrtd(NfcWorker* nfc_worker, MrtdData* mrtd_data, Fur
read_success = true;
} while(false);
if(furi_hal_rtc_is_flag_set(FuriHalRtcFlagDebug)) {
reader_analyzer_stop(nfc_worker->reader_analyzer);
}
return read_success;
}