Przeglądaj źródła

fix for latest API

MX 1 rok temu
rodzic
commit
9714bb986c
1 zmienionych plików z 1 dodań i 2 usunięć
  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);
     }