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:
parent
c149b1625c
commit
3e6307d8ec
@ -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)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user