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) {