summaryrefslogtreecommitdiff
path: root/ucoo/hal/frame_buffer/ltdc.stm32f4.cc
diff options
context:
space:
mode:
authorNicolas Schodet2016-12-20 14:07:50 +0100
committerNicolas Schodet2019-10-09 23:05:51 +0200
commit4738239d53a01be1b90fb6afd427df57fde22b95 (patch)
tree013a9df2f4565fd7ce0167d06e22c4dd7a6a9cb6 /ucoo/hal/frame_buffer/ltdc.stm32f4.cc
parentf4cb0e1ed988e03610cdc30c4767ccae00d5429b (diff)
ucoo/hal/frame_buffer: add DSI video mode support
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