[bsp][stm32] fix LTDC_IRQHandler irq enter bug.
This commit is contained in:
parent
bccdf912c8
commit
0849a6061d
|
@ -108,11 +108,11 @@ void HAL_LTDC_LineEventCallback(LTDC_HandleTypeDef *hltdc)
|
||||||
|
|
||||||
void LTDC_IRQHandler(void)
|
void LTDC_IRQHandler(void)
|
||||||
{
|
{
|
||||||
rt_enter_critical();
|
rt_interrupt_enter();
|
||||||
|
|
||||||
HAL_LTDC_IRQHandler(&LtdcHandle);
|
HAL_LTDC_IRQHandler(&LtdcHandle);
|
||||||
|
|
||||||
rt_exit_critical();
|
rt_interrupt_leave();
|
||||||
}
|
}
|
||||||
|
|
||||||
rt_err_t stm32_lcd_init(struct drv_lcd_device *lcd)
|
rt_err_t stm32_lcd_init(struct drv_lcd_device *lcd)
|
||||||
|
|
Loading…
Reference in New Issue