cleanup and improvements
improved driver creation fixed compile warnings in check.h hello_world example is now working again with lvgl
This commit is contained in:
+4
-3
@@ -8,13 +8,14 @@
|
||||
#include "hello_world/hello_world.h"
|
||||
|
||||
void app_main(void) {
|
||||
static nb_config_t platform_config = {
|
||||
static nb_config_t config = {
|
||||
.display_driver = &board_2432s024_create_display_driver,
|
||||
.touch_driver = &board_2432s024_create_touch_driver,
|
||||
.apps = {
|
||||
&hello_world_app
|
||||
}
|
||||
},
|
||||
.apps_count = 1
|
||||
};
|
||||
|
||||
nanobake_start(&platform_config);
|
||||
nanobake_start(&config);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user