From c4a576e4af5ffeb05a4823b01f6f995e88741ed2 Mon Sep 17 00:00:00 2001 From: Ken Van Hoeylandt Date: Thu, 28 Dec 2023 12:26:19 +0100 Subject: [PATCH] cleanup --- components/nanobake/src/applications/services/gui/gui.c | 1 + .../src/applications/system/system_info/system_info.c | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/components/nanobake/src/applications/services/gui/gui.c b/components/nanobake/src/applications/services/gui/gui.c index 81bf9ded..2d6722f9 100644 --- a/components/nanobake/src/applications/services/gui/gui.c +++ b/components/nanobake/src/applications/services/gui/gui.c @@ -228,6 +228,7 @@ __attribute((__noreturn__)) int32_t prv_gui_main(void* parameter) { } } } + const NbApp gui_app = { .id = "gui", .name = "GUI", diff --git a/components/nanobake/src/applications/system/system_info/system_info.c b/components/nanobake/src/applications/system/system_info/system_info.c index bc5e0be9..706d96d3 100644 --- a/components/nanobake/src/applications/system/system_info/system_info.c +++ b/components/nanobake/src/applications/system/system_info/system_info.c @@ -7,7 +7,7 @@ static int32_t system_info_entry_point(void* param) { UNUSED(param); // Wait for all apps to start - vTaskDelay(1000 / portTICK_PERIOD_MS); + vTaskDelay(1000 / portTICK_PERIOD_MS); size_t system_service_count = nanobake_get_app_thread_count(); printf("Running apps:\n"); @@ -20,7 +20,8 @@ static int32_t system_info_entry_point(void* param) { printf(" - [%s] %s (%s)\n", status, name, appid); } - printf("Heap memory available: %d / %d\n", + printf( + "Heap memory available: %d / %d\n", heap_caps_get_free_size(MALLOC_CAP_DEFAULT), heap_caps_get_total_size(MALLOC_CAP_DEFAULT) );