fix(os): add support for thread names (#7579)
Signed-off-by: Cristian Stoica <cristianmarian.stoica@nxp.com>
This commit is contained in:
@@ -51,7 +51,8 @@ void lv_example_osal(void)
|
||||
LV_LOG_ERROR("Error initializing thread sync");
|
||||
}
|
||||
|
||||
if(lv_thread_init(&increment_thread, LV_THREAD_PRIO_MID, increment_thread_entry, 2048, NULL) != LV_RESULT_OK) {
|
||||
if(lv_thread_init(&increment_thread, "inc_th", LV_THREAD_PRIO_MID, increment_thread_entry, 2048,
|
||||
NULL) != LV_RESULT_OK) {
|
||||
LV_LOG_ERROR("Error initializing thread");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user