From 68431aa851b91c598fceaf07e495ba70e9eeec87 Mon Sep 17 00:00:00 2001 From: Willy-JL <49810075+Willy-JL@users.noreply.github.com> Date: Mon, 17 Jul 2023 23:06:58 +0100 Subject: [PATCH] <:N1:1130620612352679958><:N2:1130620354440745162> --- furi/core/thread.c | 2 +- furi/core/timer.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/furi/core/thread.c b/furi/core/thread.c index 7e0c9e68c..62ab6fec4 100644 --- a/furi/core/thread.c +++ b/furi/core/thread.c @@ -513,7 +513,7 @@ const char* furi_thread_get_appid(FuriThreadId thread_id) { FuriThread* thread = (FuriThread*)pvTaskGetThreadLocalStoragePointer(hTask, 0); if(thread) { appid = thread->appid; - } else if (hTask == xTimerGetTimerDaemonTaskHandle()) { + } else if(hTask == xTimerGetTimerDaemonTaskHandle()) { const char* timer = furi_timer_get_current_name(); if(timer) { appid = timer; diff --git a/furi/core/timer.c b/furi/core/timer.c index e058933c5..d1fdc4456 100644 --- a/furi/core/timer.c +++ b/furi/core/timer.c @@ -15,7 +15,7 @@ typedef struct { } TimerCallback_t; const char* furi_timer_get_current_name() { - return current_timer_name; + return current_timer_name; } static void TimerCallback(TimerHandle_t hTimer) {