summaryrefslogtreecommitdiff
path: root/ucoo/hal/frame_buffer/ltdc.stm32f4.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ucoo/hal/frame_buffer/ltdc.stm32f4.cc')
-rw-r--r--ucoo/hal/frame_buffer/ltdc.stm32f4.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ucoo/hal/frame_buffer/ltdc.stm32f4.cc b/ucoo/hal/frame_buffer/ltdc.stm32f4.cc
index 4255ff7..a1e4f47 100644
--- a/ucoo/hal/frame_buffer/ltdc.stm32f4.cc
+++ b/ucoo/hal/frame_buffer/ltdc.stm32f4.cc
@@ -80,7 +80,7 @@ Ltdc::layer_setup (int layer, const Surface &surface, int x, int y)
reg->CFBLNR = surface.h;
reg->CR = LTDC_LxCR_LEN;
// Load parameters.
- reg::LTDC->SRCR = LTDC_SRCR_IMR;
+ reg::LTDC->SRCR = LTDC_SRCR_VBR;
}
} // namespace ucoo