From eb853d6fb0ef75a3835aecd70521673dc7baabd3 Mon Sep 17 00:00:00 2001 From: Eric Betts Date: Sun, 12 Nov 2023 19:51:12 -0800 Subject: [PATCH] Update for TaskHandle_t change --- seader.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/seader.c b/seader.c index 9d566d7..f12b564 100644 --- a/seader.c +++ b/seader.c @@ -179,15 +179,14 @@ void seader_blink_stop(Seader* seader) { void seader_show_loading_popup(void* context, bool show) { Seader* seader = context; - TaskHandle_t timer_task = xTaskGetHandle(configTIMER_SERVICE_TASK_NAME); if(show) { // Raise timer priority so that animations can play - vTaskPrioritySet(timer_task, configMAX_PRIORITIES - 1); + furi_timer_set_thread_priority(FuriTimerThreadPriorityElevated); view_dispatcher_switch_to_view(seader->view_dispatcher, SeaderViewLoading); } else { // Restore default timer priority - vTaskPrioritySet(timer_task, configTIMER_TASK_PRIORITY); + furi_timer_set_thread_priority(FuriTimerThreadPriorityNormal); } }