Browse Source

Enable usart6, since stm32f0 crate was updated

features/pwm
David Sawatzke 4 years ago
parent
commit
b8ec4e4957
  1. 3
      src/serial.rs

3
src/serial.rs

@ -176,8 +176,7 @@ usart! {
USART3: (usart3, usart3en, apb1enr),
USART4: (usart4, usart4en, apb1enr),
USART5: (usart5, usart5en, apb1enr),
// the usart6en bit is missing
// USART6: (usart6, usart6en, apb2enr),
USART6: (usart6, usart6en, apb2enr),
}
// It's s needed for the impls, but rustc doesn't recognize that

Loading…
Cancel
Save