mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-18 19:01:47 +03:00
NFC App: Generate MF Classic with custom UID added
This commit is contained in:
parent
c8ce5e6ed4
commit
941652ec57
@ -53,6 +53,15 @@ bool nfc_scene_set_type_on_event(void* context, SceneManagerEvent event) {
|
||||
nfc_scene_set_type_init_edit_data(instance->iso14443_3a_edit_data, 4);
|
||||
scene_manager_next_scene(instance->scene_manager, NfcSceneSetSak);
|
||||
consumed = true;
|
||||
} else if(
|
||||
(event.event == NfcDataGeneratorTypeMfClassic1k_4b) ||
|
||||
(event.event == NfcDataGeneratorTypeMfClassic1k_7b) ||
|
||||
(event.event == NfcDataGeneratorTypeMfClassic4k_4b) ||
|
||||
(event.event == NfcDataGeneratorTypeMfClassic4k_7b) ||
|
||||
(event.event == NfcDataGeneratorTypeMfClassicMini)) {
|
||||
nfc_data_generator_fill_data(event.event, instance->nfc_device);
|
||||
scene_manager_next_scene(instance->scene_manager, NfcSceneSetUid);
|
||||
consumed = true;
|
||||
} else {
|
||||
nfc_data_generator_fill_data(event.event, instance->nfc_device);
|
||||
scene_manager_set_scene_state(
|
||||
|
Loading…
Reference in New Issue
Block a user