Skip to content

Commit 4effe46

Browse files
committed
Fix adc_multi example
1 parent da293cd commit 4effe46

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/adc_multi.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ fn main() -> ! {
4444
// Initialize USART for test output
4545
let (mut tx, _) = dp.USART2
4646
.usart(
47-
(tx, rx),
47+
tx,
48+
rx,
4849
serial::Config::default()
4950
.baudrate(115_200.bps()),
5051
&mut rcc,

0 commit comments

Comments
 (0)