NFC: Accept non-parsed apps in Mifare DESFire.

Fixes #2040
Minor editorial changes
This commit is contained in:
Michael Huebler
2022-11-24 12:06:27 +01:00
parent fa135c3249
commit bf54016553
+3 -3
View File
@@ -7,6 +7,7 @@
#include <lib/nfc/protocols/nfc_util.h>
#include <flipper_format/flipper_format.h>
#define TAG "NfcDevice"
#define NFC_DEVICE_KEYS_FOLDER EXT_PATH("nfc/cache")
#define NFC_DEVICE_KEYS_EXTENSION ".keys"
@@ -628,9 +629,8 @@ bool nfc_device_load_mifare_df_data(FlipperFormat* file, NfcDevice* dev) {
app_head = &app->next;
}
if(!parsed_apps) {
// break;
// accept non-parsed apps.
FURI_LOG_W("nfc_device.c", "Non-parsed apps found!");
// accept non-parsed apps, just log a warning:
FURI_LOG_W(TAG, "Non-parsed apps found!");
}
}
parsed = true;