From 0b8ddb6173c58d24c27d3af390c4d6d7fbb54a05 Mon Sep 17 00:00:00 2001 From: gornekich Date: Mon, 17 Jun 2024 12:58:55 +0100 Subject: [PATCH] mf plus: fix incorrect read fail event handler --- .../main/nfc/helpers/protocol_support/mf_plus/mf_plus.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/applications/main/nfc/helpers/protocol_support/mf_plus/mf_plus.c b/applications/main/nfc/helpers/protocol_support/mf_plus/mf_plus.c index eebed2a8d..eb2299cb5 100644 --- a/applications/main/nfc/helpers/protocol_support/mf_plus/mf_plus.c +++ b/applications/main/nfc/helpers/protocol_support/mf_plus/mf_plus.c @@ -41,8 +41,7 @@ static NfcCommand nfc_scene_read_poller_callback_mf_plus(NfcGenericEvent event, view_dispatcher_send_custom_event(instance->view_dispatcher, NfcCustomEventPollerSuccess); command = NfcCommandStop; } else if(mf_plus_event->type == MfPlusPollerEventTypeReadFailed) { - view_dispatcher_send_custom_event(instance->view_dispatcher, NfcCustomEventPollerFailure); - command = NfcCommandStop; + command = NfcCommandReset; } return command;