fix(init): remove double call to lv_draw_sw_deinit (#7266)

This commit is contained in:
antonio-pasini 2024-11-13 05:14:04 +01:00 committed by GitHub
parent 448a1d4756
commit 590299a820
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 4 deletions

View File

@ -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

View File

@ -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;