diff options
| -rw-r--r-- | embassy-stm32/src/spi/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/embassy-stm32/src/spi/mod.rs b/embassy-stm32/src/spi/mod.rs index 410e16ee2..80a05aac6 100644 --- a/embassy-stm32/src/spi/mod.rs +++ b/embassy-stm32/src/spi/mod.rs | |||
| @@ -191,6 +191,8 @@ impl<'d, T: Instance, Tx, Rx> Spi<'d, T, Tx, Rx> { | |||
| 191 | T::enable(); | 191 | T::enable(); |
| 192 | T::reset(); | 192 | T::reset(); |
| 193 | T::regs().cr2().modify(|w| { | 193 | T::regs().cr2().modify(|w| { |
| 194 | w.set_frxth(WordSize::EightBit.frxth()); | ||
| 195 | w.set_ds(WordSize::EightBit.ds()); | ||
| 194 | w.set_ssoe(false); | 196 | w.set_ssoe(false); |
| 195 | }); | 197 | }); |
| 196 | T::regs().cr1().modify(|w| { | 198 | T::regs().cr1().modify(|w| { |
