Skip to content

Commit 50ec7c6

Browse files
committed
Fix SPI initialization to be MSB first
1 parent 609af0a commit 50ec7c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/spi.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ macro_rules! hal {
182182
w.spe()
183183
.enabled()
184184
.lsbfirst()
185-
.lsbfirst()
185+
.msbfirst()
186186
.ssi()
187187
.slave_not_selected()
188188
.ssm()

0 commit comments

Comments
 (0)