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
@@ -3,7 +3,7 @@
#include "record.h"
#include "check.h"
#define TAG "Gui"
#define TAG "gui"
// Forward declarations from gui_draw.c
bool gui_redraw_fs(NbGui* gui);
@@ -233,6 +233,6 @@ const NbApp gui_app = {
.name = "GUI",
.type = SERVICE,
.entry_point = &prv_gui_main,
.stack_size = 2048,
.priority = 10
.stack_size = NB_TASK_STACK_SIZE_DEFAULT,
.priority = NB_TASK_PRIORITY_DEFAULT
};