mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-22 21:01:40 +03:00
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);
|