MX 1 год назад
Родитель
Сommit
9714bb986c
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      lib/nfclegacy/ST25RFAL002/platform.c

+ 1 - 2
lib/nfclegacy/ST25RFAL002/platform.c

@@ -48,8 +48,7 @@ void platformSetIrqCallback(PlatformIrqCallback callback) {
 
     if(!rfal_platform.thread) {
         rfal_platform.thread =
-            furi_thread_alloc_ex("RfalIrqDriver", 1024, rfal_platform_irq_thread, NULL);
-        furi_thread_mark_as_service(rfal_platform.thread);
+            furi_thread_alloc_service("RfalIrqDriver", 1024, rfal_platform_irq_thread, NULL);
         furi_thread_set_priority(rfal_platform.thread, FuriThreadPriorityIsr);
         furi_thread_start(rfal_platform.thread);
     }