From e63c171783e557482d65d5f758f26a1f8c8cdba7 Mon Sep 17 00:00:00 2001 From: gornekich Date: Tue, 6 Feb 2024 19:15:02 +0000 Subject: [PATCH] nfc app: fix incorrect protocol detection in save scene --- .../main/nfc/helpers/protocol_support/nfc_protocol_support.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/applications/main/nfc/helpers/protocol_support/nfc_protocol_support.c b/applications/main/nfc/helpers/protocol_support/nfc_protocol_support.c index 262523ecdd3..2d46810a2c4 100644 --- a/applications/main/nfc/helpers/protocol_support/nfc_protocol_support.c +++ b/applications/main/nfc/helpers/protocol_support/nfc_protocol_support.c @@ -518,8 +518,7 @@ static bool DolphinDeedNfcAddSave : DolphinDeedNfcSave); - const NfcProtocol protocol = - instance->protocols_detected[instance->protocols_detected_selected_idx]; + const NfcProtocol protocol = nfc_device_get_protocol(instance->nfc_device); consumed = nfc_protocol_support[protocol]->scene_save_name.on_event(instance, event); } else {