improvements to apps and drivers

This commit is contained in:
Ken Van Hoeylandt
2023-12-25 18:43:48 +01:00
parent e6525364c6
commit 0cf7829a2d
16 changed files with 108 additions and 114 deletions
+8 -11
View File
@@ -29,14 +29,11 @@ static void prv_on_create(nb_platform_t _Nonnull* platform, lv_obj_t _Nonnull* l
lvgl_port_unlock();
}
nb_app_config_t hello_world_app_config() {
nb_app_config_t config = {
.id = "helloworld",
.name = "Hello World",
.type = USER,
.on_create = &prv_on_create,
.on_update = NULL,
.on_destroy = NULL
};
return config;
}
nb_app_t hello_world_app = {
.id = "helloworld",
.name = "Hello World",
.type = USER,
.on_create = &prv_on_create,
.on_update = NULL,
.on_destroy = NULL
};