Skip to content

Commit 16272ef

Browse files
Dimitri Polonskitherealprof
authored andcommitted
fix typo
1 parent bd8c275 commit 16272ef

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
@@ -324,7 +324,7 @@ macro_rules! usart {
324324
where
325325
RXPIN: RxPin<$USART>,
326326
{
327-
/// Creates a new tx-only serial instance
327+
/// Creates a new rx-only serial instance
328328
pub fn $usartrx(usart: $USART, rxpin: RXPIN, baud_rate: Bps, rcc: &mut Rcc) -> Self
329329
{
330330
let txpin = ();

0 commit comments

Comments
 (0)