fix for UART example

This commit is contained in:
Robin Müller 2025-02-17 11:35:11 +01:00
parent 617ba3cca0
commit 527243ab96
Signed by: muellerr
GPG Key ID: A649FB78196E3849

View File

@ -33,10 +33,10 @@ fn main() -> ! {
let rx = gpiob.pg1.into_funsel_1();
let uart0 = uart::Uart::new(
&mut dp.sysconfig,
dp.uart0,
(tx, rx),
Hertz::from_raw(115200),
&mut dp.sysconfig,
&clocks,
);
let (mut tx, mut rx) = uart0.split();