Skip to content

Commit faa2039

Browse files
committed
modules: lvgl: Add lv_sleep_ms to OSAL
Adds an implementation of lv_sleep_ms to the zephyr OSAL. Signed-off-by: Fabian Blatz <[email protected]>
1 parent 5657f17 commit faa2039

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

modules/lvgl/lvgl_zephyr_osal.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,3 +174,8 @@ uint32_t lv_os_get_idle_percent(void)
174174
return 0;
175175
#endif
176176
}
177+
178+
void lv_sleep_ms(uint32_t ms)
179+
{
180+
k_msleep(ms);
181+
}

0 commit comments

Comments
 (0)