Skip to content

Commit ecd0d96

Browse files
committed
Fix serial_hal_blocking_echo example
This was missed in #29
1 parent 2bd25f4 commit ecd0d96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/serial_hal_blocking_echo.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ fn main() -> ! {
1515
let gpio = p.GPIO.split();
1616

1717
/* Initialise serial port on the micro:bit */
18-
let (mut tx, mut rx) = microbit::serial_port(gpio, p.UART0, BAUD115200);
18+
let (mut tx, mut rx) = microbit::serial_port!(gpio, p.UART0, BAUD115200);
1919

2020
/* Print a nice hello message */
2121
let s = b"Please type characters to echo:\r\n";

0 commit comments

Comments
 (0)