2021-03-01 16:46:18 +00:00
|
|
|
#include "lvgl.h"
|
|
|
|
|
2021-03-02 17:33:59 +00:00
|
|
|
#include "user_lvgl_impl.h"
|
|
|
|
|
2021-02-28 14:18:24 +00:00
|
|
|
#include "user_tasks.h"
|
|
|
|
|
|
|
|
void user_tasks_init(void) {
|
2021-03-01 16:46:18 +00:00
|
|
|
lv_init();
|
2021-03-02 17:33:59 +00:00
|
|
|
lv_log_register_print_cb(user_lvgl_impl_log_cb);
|
2021-03-01 16:46:18 +00:00
|
|
|
|
2021-03-02 17:33:59 +00:00
|
|
|
g_user_hello_task_handle = osThreadNew(user_hello_task, NULL, &g_user_hello_task_attributes);
|
2021-02-28 14:18:24 +00:00
|
|
|
}
|