mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 13:13:08 +08:00
stm32: fix wait upon vertical blank. This should never have occurred before.
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
This commit is contained in:
@@ -1102,7 +1102,7 @@ static void stm32_ltdc_reload(uint8_t value)
|
||||
|
||||
if (value & LTDC_SRCR_WAIT)
|
||||
{
|
||||
while ((getreg32(STM32_LTDC_SRCR) & (value & ~LTDC_SRCR_WAIT)) == value)
|
||||
while ((getreg32(STM32_LTDC_SRCR) & (value & ~LTDC_SRCR_WAIT)) != 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user