From bf540165530366e60f131979906a451d9b456358 Mon Sep 17 00:00:00 2001 From: Michael Huebler Date: Thu, 24 Nov 2022 12:06:27 +0100 Subject: [PATCH] NFC: Accept non-parsed apps in Mifare DESFire. Fixes #2040 Minor editorial changes --- lib/nfc/nfc_device.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/nfc/nfc_device.c b/lib/nfc/nfc_device.c index 40574612b..5d86da0c1 100644 --- a/lib/nfc/nfc_device.c +++ b/lib/nfc/nfc_device.c @@ -7,6 +7,7 @@ #include #include +#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;