improved NbApp definition

default values added for task priority and stack size
+ other small improvements
This commit is contained in:
Ken Van Hoeylandt
2023-12-28 00:07:39 +01:00
parent f0cfd3c34d
commit 83ef89cf07
10 changed files with 28 additions and 15 deletions
+1
View File
@@ -53,6 +53,7 @@ static void prv_start_app(const NbApp _Nonnull* app) {
}
furi_thread_set_appid(thread, app->id);
furi_thread_set_priority(thread, app->priority);
furi_thread_start(thread);
FuriThreadId thread_id = furi_thread_get_id(thread);