mirror of
https://github.com/lvgl/lvgl.git
synced 2024-11-23 01:33:59 +08:00
fix(init): remove double call to lv_draw_sw_deinit (#7266)
This commit is contained in:
parent
448a1d4756
commit
590299a820
@ -384,10 +384,6 @@ void lv_deinit(void)
|
||||
lv_span_stack_deinit();
|
||||
#endif
|
||||
|
||||
#if LV_USE_DRAW_SW
|
||||
lv_draw_sw_deinit();
|
||||
#endif
|
||||
|
||||
#if LV_USE_FREETYPE
|
||||
lv_freetype_uninit();
|
||||
#endif
|
||||
|
@ -176,6 +176,8 @@ lv_result_t lv_mutex_unlock(lv_mutex_t * pxMutex)
|
||||
|
||||
lv_result_t lv_mutex_delete(lv_mutex_t * pxMutex)
|
||||
{
|
||||
if(pxMutex->xIsInitialized == pdFALSE)
|
||||
return LV_RESULT_INVALID;
|
||||
vSemaphoreDelete(pxMutex->xMutex);
|
||||
pxMutex->xIsInitialized = pdFALSE;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user