Explorar o código

NFC Magic: update app with latest API (#223)

gornekich hai 1 ano
pai
achega
34673d7caf
Modificáronse 3 ficheiros con 5 adicións e 2 borrados
  1. 3 0
      .catalog/changelog.md
  2. 1 1
      application.fam
  3. 1 1
      magic/protocols/gen4/gen4_poller.c

+ 3 - 0
.catalog/changelog.md

@@ -1,3 +1,6 @@
+## 1.11
+ - Fixed Mifare Ultralight types with latest API update
+
 ## 1.10
  - Fixed the user dictionary dictionary attack results being discarded
 

+ 1 - 1
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.10",
+    fap_version="1.11",
     fap_icon="assets/125_10px.png",
     fap_category="NFC",
     fap_icon_assets="assets",

+ 1 - 1
magic/protocols/gen4/gen4_poller.c

@@ -384,7 +384,7 @@ static NfcCommand gen4_poller_write_mf_ultralight(Gen4Poller* instance) {
                 instance->total_blocks = 64 * 2;
                 break;
 
-            case MfUltralightTypeUnknown:
+            case MfUltralightTypeOrigin:
                 FURI_LOG_D(TAG, "Ultralight type");
                 instance->config.data_parsed.mfu_mode = Gen4UltralightModeUL;
                 break;