Skip to content

Commit f0dd076

Browse files
committed
Fix typo in usart variable clock macro
1 parent f7f0c1a commit f0dd076

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/serial.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1347,7 +1347,7 @@ macro_rules! usart_static_clock {
13471347
macro_rules! usart_var_clock {
13481348
($($usartXclock:ident, $usartXsw:ident, $pclkX:ident),+) => {
13491349
$(
1350-
/// Return the currently set source frequency the UART peripheral
1350+
/// Return the currently set source frequency for the UART peripheral
13511351
/// depending on the clock source.
13521352
fn $usartXclock(clocks: &Clocks) -> Hertz {
13531353
// NOTE(unsafe): atomic read with no side effects

0 commit comments

Comments
 (0)