Nfc: replace cmsis thread with furi, fix condition race in thread stop routine. (#1003)
* Nfc: replace cmsis thread with furi, fix condition race on thread stop routine. * Nfc: fix memory leak * FuriCore, CMSIS: properly handle thread names before scheduler start
This commit is contained in:
@@ -17,8 +17,7 @@
|
||||
#include <st25r3916_irq.h>
|
||||
|
||||
struct NfcWorker {
|
||||
osThreadAttr_t thread_attr;
|
||||
osThreadId_t thread;
|
||||
FuriThread* thread;
|
||||
|
||||
NfcDeviceData* dev_data;
|
||||
|
||||
@@ -30,7 +29,7 @@ struct NfcWorker {
|
||||
|
||||
void nfc_worker_change_state(NfcWorker* nfc_worker, NfcWorkerState state);
|
||||
|
||||
void nfc_worker_task(void* context);
|
||||
int32_t nfc_worker_task(void* context);
|
||||
|
||||
void nfc_worker_read_emv_app(NfcWorker* nfc_worker);
|
||||
|
||||
|
Reference in New Issue
Block a user