From 751da0bf8c6da52760ff09e3ff85fb9f12e10096 Mon Sep 17 00:00:00 2001 From: RebornedBrain <138568282+RebornedBrain@users.noreply.github.com> Date: Fri, 1 Nov 2024 08:32:08 +0300 Subject: [PATCH] [NfcMagic] Fix build issue (#262) Co-authored-by: Aleksandr Kutuzov --- nfc_magic/.catalog/changelog.md | 3 +++ nfc_magic/application.fam | 2 +- nfc_magic/scenes/nfc_magic_scene_mf_classic_dict_attack.c | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/nfc_magic/.catalog/changelog.md b/nfc_magic/.catalog/changelog.md index 0246ac76..adf93042 100644 --- a/nfc_magic/.catalog/changelog.md +++ b/nfc_magic/.catalog/changelog.md @@ -1,3 +1,6 @@ +## 1.14 + - Update for new API + ## 1.13 - Support for dumping Gen1 cards - Minor error screen changes diff --git a/nfc_magic/application.fam b/nfc_magic/application.fam index 316d140d..075df4b0 100644 --- a/nfc_magic/application.fam +++ b/nfc_magic/application.fam @@ -10,7 +10,7 @@ App( ], stack_size=4 * 1024, fap_description="Application for writing to NFC tags with modifiable sector 0", - fap_version="1.13", + fap_version="1.14", fap_icon="assets/125_10px.png", fap_category="NFC", fap_icon_assets="assets", diff --git a/nfc_magic/scenes/nfc_magic_scene_mf_classic_dict_attack.c b/nfc_magic/scenes/nfc_magic_scene_mf_classic_dict_attack.c index 5de64a8b..682b081b 100644 --- a/nfc_magic/scenes/nfc_magic_scene_mf_classic_dict_attack.c +++ b/nfc_magic/scenes/nfc_magic_scene_mf_classic_dict_attack.c @@ -42,7 +42,7 @@ NfcCommand nfc_dict_attack_worker_callback(NfcGenericEvent event, void* context) } FURI_LOG_D(TAG, "MFC type: %d", mfc_data->type); - mfc_event->data->poller_mode.mode = MfClassicPollerModeDictAttack; + mfc_event->data->poller_mode.mode = MfClassicPollerModeDictAttackStandard; mfc_event->data->poller_mode.data = mfc_data; instance->nfc_dict_context.sectors_total = mf_classic_get_total_sectors_num(mfc_data->type);