Skip to content

Commit c317dcf

Browse files
authored
Merge pull request #849 from kriomant/fsmc-16bit
Fix FSMC bus width setting
2 parents 3617dd7 + ecf6f9a commit c317dcf

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)