Comment tweak

This commit is contained in:
Paul van Tilburg 2019-03-12 17:27:47 +01:00
parent 4c87af1991
commit 84325d9434
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ const APP: () = {
button.enable_interrupt(&mut exti);
button.trigger_on_edge(&mut exti, Edge::RISING);
// Set up the serial interface.
// Set up the serial interface and the USART2 interrupt.
let tx = gpioa.pa2.into_alternate_af7();
let rx = gpioa.pa3.into_alternate_af7();
let config = SerialConfig::default().baudrate(115_200.bps());