fix problems

This commit is contained in:
xoviat 2021-01-05 17:24:27 -06:00
parent 7bee584808
commit a9d9f3bf80
2 changed files with 2 additions and 2 deletions

View File

@ -30,8 +30,8 @@ async fn run(dp: stm32::Peripherals, cp: cortex_m::Peripherals) {
let mut serial = serial::Serial::new(
gpioa.pa9.into_alternate_af7(),
gpioa.pa10.into_alternate_af7(),
interrupt::take!(DMA2_STREAM2),
interrupt::take!(DMA2_STREAM7),
interrupt::take!(DMA2_STREAM2),
interrupt::take!(USART1),
dp.DMA2,
dp.USART1,

View File

@ -32,7 +32,7 @@ pub enum Priority {
Level12 = 12,
Level13 = 13,
Level14 = 14,
Level14 = 15,
Level15 = 15,
}
impl From<u8> for Priority {