NFC: replace deprecated furi api with new one

This commit is contained in:
Aleksandr Kutuzov 2020-10-20 17:27:54 +03:00
parent aab597e0a3
commit f33647df54

View File

@ -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);
}