소스 검색

fix for latest API

MX 1 년 전
부모
커밋
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);
     }