未验证 提交 9aabf261 编写于 作者: liuduanfei's avatar liuduanfei 提交者: GitHub

change `rt_sem_delete` to `rt_sem_detach`

`_lcd.lcd_lock` should be detach with rt_sem_detach.
上级 631220eb
......@@ -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)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册