Skip to content

Commit

Permalink
Fix example.
Browse files Browse the repository at this point in the history
  • Loading branch information
reitermarkus committed May 29, 2022
1 parent d3dac9b commit 4fca1f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/otg_fs_serial.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use stm32l4xx_hal::prelude::*;
use stm32l4xx_hal::rcc::{
ClockSecuritySystem, CrystalBypass, MsiFreq, PllConfig, PllDivider, PllSource,
};
use stm32l4xx_hal::stm32::{Peripherals, CRS, PWR, RCC};
use stm32l4xx_hal::stm32::{Peripherals, CRS, RCC};
use usb_device::prelude::*;

/// Enable CRS (Clock Recovery System)
Expand Down Expand Up @@ -88,7 +88,7 @@ unsafe fn main() -> ! {
.into_alternate(&mut gpioa.moder, &mut gpioa.otyper, &mut gpioa.afrh)
.set_speed(Speed::VeryHigh),
&mut pwr,
clocks.hclk(),
clocks,
);

let usb_bus = UsbBus::new(usb, &mut EP_MEMORY);
Expand Down

0 comments on commit 4fca1f2

Please sign in to comment.