From 4984e9e4142a33d8ed32f4187afbb709f85c651e Mon Sep 17 00:00:00 2001 From: gornekich Date: Tue, 6 Feb 2024 19:25:55 +0000 Subject: [PATCH] nfc app: fix incorrect protocol detection in save scene (#3430) --- .../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 262523ecd..2d46810a2 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 {