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
+2 -2
View File
@@ -70,6 +70,6 @@ const NbApp hello_world_app = {
.name = "Hello World",
.type = USER,
.entry_point = &prv_hello_world_main,
.stack_size = 2048,
.priority = 10
.stack_size = NB_TASK_STACK_SIZE_DEFAULT,
.priority = NB_TASK_PRIORITY_DEFAULT
};