فهرست منبع

Merge nfc_magic from https://github.com/xMasterX/all-the-plugins

Willy-JL 1 سال پیش
والد
کامیت
0f245b4d6b
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      nfc_magic/.gitsubtree
  2. 1 1
      nfc_magic/scenes/nfc_magic_scene_file_select.c

+ 1 - 1
nfc_magic/.gitsubtree

@@ -1,2 +1,2 @@
-https://github.com/xMasterX/all-the-plugins dev base_pack/nfc_magic e7a5fb24f091746d1dce138de2041d070a2902e0
+https://github.com/xMasterX/all-the-plugins dev base_pack/nfc_magic a0eeb19e4385a178793c673cbd073fcd37a94928
 https://github.com/flipperdevices/flipperzero-good-faps dev nfc_magic e28aceb103154518364ab262653a82d8637d331a

+ 1 - 1
nfc_magic/scenes/nfc_magic_scene_file_select.c

@@ -8,7 +8,7 @@ static bool nfc_magic_scene_file_select_is_file_suitable(NfcMagicApp* instance)
 
     bool suitable = false;
     if(instance->protocol == NfcMagicProtocolGen1) {
-        if((uid_len == 4) && (protocol == NfcProtocolMfClassic)) {
+        if((uid_len == 4 || uid_len == 7) && (protocol == NfcProtocolMfClassic)) {
             const MfClassicData* mfc_data =
                 nfc_device_get_data(instance->source_dev, NfcProtocolMfClassic);
             if(mfc_data->type == MfClassicType1k) {