Skip to content

Commit ecf6f9a

Browse files
committed
Fix FSMC bus width setting
1 parent 3617dd7 commit ecf6f9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fsmc_lcd/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ impl Word for u8 {
127127
const MWID: fsmc::bcr1::MWID = fsmc::bcr1::MWID::Bits8;
128128
}
129129
impl Word for u16 {
130-
const MWID: fsmc::bcr1::MWID = fsmc::bcr1::MWID::Bits8;
130+
const MWID: fsmc::bcr1::MWID = fsmc::bcr1::MWID::Bits16;
131131
}
132132

133133
impl<PINS, WORD: Word> FsmcLcd<PINS, WORD>

0 commit comments

Comments
 (0)