Skip to content

Commit 76c9e92

Browse files
authored
Merge pull request #4090 from liuduanfei/master
change `rt_sem_delete` to `rt_sem_detach`
2 parents 631220e + 9aabf26 commit 76c9e92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bsp/stm32/libraries/HAL_Drivers/drv_lcd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ int drv_lcd_hw_init(void)
338338
__exit:
339339
if (result != RT_EOK)
340340
{
341-
rt_sem_delete(&_lcd.lcd_lock);
341+
rt_sem_detach(&_lcd.lcd_lock);
342342

343343
if (_lcd.lcd_info.framebuffer)
344344
{

0 commit comments

Comments
 (0)