From a57f9e22b5a1f6d9f69b3c5002d2b43a1822d0d1 Mon Sep 17 00:00:00 2001 From: MX <10697207+xMasterX@users.noreply.github.com> Date: Sun, 6 Apr 2025 01:57:23 +0300 Subject: [PATCH] fix nfc --- applications/main/nfc/nfc_cli.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/applications/main/nfc/nfc_cli.c b/applications/main/nfc/nfc_cli.c index ba4d800f8..5b54d38db 100644 --- a/applications/main/nfc/nfc_cli.c +++ b/applications/main/nfc/nfc_cli.c @@ -112,8 +112,8 @@ static NfcCommand trx_callback(NfcGenericEvent event, void* context) { return NfcCommandContinue; } -static void nfc_cli_apdu(Cli* cli, FuriString* args) { - UNUSED(cli); +static void nfc_cli_apdu(PipeSide* pipe, FuriString* args) { + UNUSED(pipe); Nfc* nfc = NULL; NfcPoller* poller = NULL; FuriString* data = furi_string_alloc(); @@ -211,7 +211,7 @@ static void execute(PipeSide* pipe, FuriString* args, void* context) { break; } if(furi_string_cmp_str(cmd, "apdu") == 0) { - nfc_cli_apdu(cli, args); + nfc_cli_apdu(pipe, args); break; } if(furi_hal_rtc_is_flag_set(FuriHalRtcFlagDebug)) {