rename uarte as serial

This commit is contained in:
xoviat
2020-12-31 16:40:51 -06:00
parent 308756f366
commit 925ede848e
2 changed files with 26 additions and 20 deletions

View File

@ -26,7 +26,7 @@ async fn run(dp: stm32::Peripherals, cp: cortex_m::Peripherals) {
.pclk1(24.mhz())
.freeze();
let mut serial = serial::Uarte::new(
let mut serial = serial::Serial::new(
gpioa.pa10.into_alternate_af7(),
gpioa.pa9.into_alternate_af7(),
dp.DMA2,