mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-27 15:00:46 +00:00
0e78f38404
* nfc: Add tag generator base * nfc: Fix BCC generation * nfc: Add MFUL EV1 generators * nfc: Fix typos in generator * nfc: Add NTAG21x generators * nfc: More const * nfc: Add NTAG I2C generators * nfc: Add field names to generator initializers * nfc: Move generators to add manually scene * nfc: Revise tag generator UX * nfc: Revert add manually menu item name * nfc: Remove unused scene start submenu index Co-authored-by: あく <alleteam@gmail.com> Co-authored-by: gornekich <n.gorbadey@gmail.com>
13 lines
254 B
C
13 lines
254 B
C
#pragma once
|
|
|
|
#include "../nfc_i.h"
|
|
|
|
typedef void (*NfcGeneratorFunc)(NfcDeviceData* data);
|
|
|
|
struct NfcGenerator {
|
|
const char* name;
|
|
NfcGeneratorFunc generator_func;
|
|
NfcScene next_scene;
|
|
};
|
|
|
|
extern const NfcGenerator* const nfc_generators[];
|