Skip to content

Commit

Permalink
fix for latest API
Browse files Browse the repository at this point in the history
  • Loading branch information
xMasterX committed Jun 5, 2024
1 parent 2808deb commit 3149ec5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions base_pack/mifare_nested/lib/nfclegacy/ST25RFAL002/platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 3149ec5

Please sign in to comment.