25 lines
472 B
C
25 lines
472 B
C
|
#pragma once
|
||
|
|
||
|
#include <furi.h>
|
||
|
|
||
|
#include "nfc_magic_worker.h"
|
||
|
|
||
|
struct NfcMagicWorker {
|
||
|
FuriThread* thread;
|
||
|
|
||
|
NfcDeviceData* dev_data;
|
||
|
|
||
|
NfcMagicWorkerCallback callback;
|
||
|
void* context;
|
||
|
|
||
|
NfcMagicWorkerState state;
|
||
|
};
|
||
|
|
||
|
int32_t nfc_magic_worker_task(void* context);
|
||
|
|
||
|
void nfc_magic_worker_check(NfcMagicWorker* nfc_magic_worker);
|
||
|
|
||
|
void nfc_magic_worker_write(NfcMagicWorker* nfc_magic_worker);
|
||
|
|
||
|
void nfc_magic_worker_wipe(NfcMagicWorker* nfc_magic_worker);
|