Skip to content

Commit 81f90cd

Browse files
author
Bob McWhirter
committed
Use None instead of _ for Serial DmaConfig.
1 parent 7d80205 commit 81f90cd

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
@@ -1471,7 +1471,7 @@ macro_rules! halUsartImpl {
14711471
.dmat().enabled()
14721472
})
14731473
}
1474-
_ => {}
1474+
DmaConfig::None => {}
14751475
}
14761476

14771477
Ok(Serial { usart, pins }.config_stop(config))

0 commit comments

Comments
 (0)