中级会员
 
- 积分
- 434
- 金钱
- 434
- 注册时间
- 2013-3-18
- 在线时间
- 82 小时
|
发表于 2021-3-8 14:06:44
|
显示全部楼层
可以,
If you need to use real tasks or threads, you need a mutex which should be invoked before the call of
lv_task_handler and released after it. Also, you have to use the same mutex in other tasks and threads
around every LVGL (lv_...) related function calls and codes. This way you can use LVGL in a real
multitasking environment. Just make use of a mutex to avoid the concurrent calling of LVGL functions. |
|