From f33647df54104af5b1a08647d3036a32430685df Mon Sep 17 00:00:00 2001 From: Aleksandr Kutuzov Date: Tue, 20 Oct 2020 17:27:54 +0300 Subject: [PATCH] NFC: replace deprecated furi api with new one --- applications/nfc/nfc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/applications/nfc/nfc.c b/applications/nfc/nfc.c index 16dc3439..593630f1 100644 --- a/applications/nfc/nfc.c +++ b/applications/nfc/nfc.c @@ -266,8 +266,8 @@ void nfc_task(void* p) { menu_item_add(menu, nfc->menu); release_mutex(menu_mutex, menu); - if(!furi_create_deprecated("nfc", nfc, sizeof(nfc))) { - printf("[nfc_task] cannot create the menu record\n"); + if(!furi_create("nfc", nfc)) { + printf("[nfc_task] cannot create nfc record\n"); furiac_exit(NULL); }