Skip to content

Commit 35c10e6

Browse files
committed
formatting
1 parent 6d3f652 commit 35c10e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/serial_echo_irq.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ fn main() -> ! {
6161
// initialize global serial
6262
*SER_PORT.borrow(cs).borrow_mut() =
6363
Some(Serial::usart1(dp.USART1, (tx, rx), 9_600.bps(), &mut rcc));
64-
64+
6565
if let Some(ser) = SER_PORT.borrow(cs).borrow_mut().as_mut() {
6666
ser.listen(hal::serial::Event::Rxne); // trigger the USART1 interrupt when bytes are available (receive buffer not empty)
6767
}

0 commit comments

Comments
 (0)