1
mirror of https://github.com/DarkFlippers/unleashed-firmware.git synced 2025-12-13 05:06:30 +04:00

nfc app: fix incorrect protocol detection in save scene (#3430)

This commit is contained in:
gornekich
2024-02-06 19:25:55 +00:00
committed by GitHub
parent 8c54c14742
commit 4984e9e414

View File

@@ -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 {