Skip to content

Commit a5b60d3

Browse files
Enable usart6, since stm32f0 crate was updated
1 parent 463be58 commit a5b60d3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/serial.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,7 @@ usart! {
176176
USART3: (usart3, usart3en, apb1enr),
177177
USART4: (usart4, usart4en, apb1enr),
178178
USART5: (usart5, usart5en, apb1enr),
179-
// the usart6en bit is missing
180-
// USART6: (usart6, usart6en, apb2enr),
179+
USART6: (usart6, usart6en, apb2enr),
181180
}
182181

183182
// It's s needed for the impls, but rustc doesn't recognize that

0 commit comments

Comments
 (0)