Merge pull request #4090 from liuduanfei/master

change `rt_sem_delete` to `rt_sem_detach`
This commit is contained in:
Bernard Xiong 2020-11-26 21:39:17 +08:00 committed by GitHub
commit 76c9e92d87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -338,7 +338,7 @@ int drv_lcd_hw_init(void)
__exit:
if (result != RT_EOK)
{
rt_sem_delete(&_lcd.lcd_lock);
rt_sem_detach(&_lcd.lcd_lock);
if (_lcd.lcd_info.framebuffer)
{