mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-10-24 04:03:59 +08:00
change rt_sem_delete to rt_sem_detach
`_lcd.lcd_lock` should be detach with rt_sem_detach.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user