We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58ecffa commit 97e0eaeCopy full SHA for 97e0eae
src/lcd/init.rs
@@ -178,7 +178,7 @@ pub fn init<'a>(ltdc: &'a mut LTDC, rcc: &mut RCC) -> Lcd<'a> {
178
179
// enable layers
180
ltdc.l1cr.modify(|_, w| w.len().set_bit());
181
- ltdc.l2cr.modify(|_, w| w.len().set_bit());
+ ltdc.l2cr.modify(|_, w| w.len().set_bit().cluten().set_bit());
182
183
// reload shadow registers
184
ltdc.srcr.modify(|_, w| w.imr().set_bit()); // IMMEDIATE_RELOAD
0 commit comments