diff options
Diffstat (limited to 'examples/stm32l5/src/bin/usb_hid_mouse.rs')
| -rw-r--r-- | examples/stm32l5/src/bin/usb_hid_mouse.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stm32l5/src/bin/usb_hid_mouse.rs b/examples/stm32l5/src/bin/usb_hid_mouse.rs index 7c8a8ebfb..c51ed96e0 100644 --- a/examples/stm32l5/src/bin/usb_hid_mouse.rs +++ b/examples/stm32l5/src/bin/usb_hid_mouse.rs | |||
| @@ -22,7 +22,7 @@ bind_interrupts!(struct Irqs { | |||
| 22 | async fn main(_spawner: Spawner) { | 22 | async fn main(_spawner: Spawner) { |
| 23 | let mut config = Config::default(); | 23 | let mut config = Config::default(); |
| 24 | config.rcc.hsi = true; | 24 | config.rcc.hsi = true; |
| 25 | config.rcc.mux = ClockSrc::PLL1_R; | 25 | config.rcc.sys = Sysclk::PLL1_R; |
| 26 | config.rcc.pll = Some(Pll { | 26 | config.rcc.pll = Some(Pll { |
| 27 | // 80Mhz clock (16 / 1 * 10 / 2) | 27 | // 80Mhz clock (16 / 1 * 10 / 2) |
| 28 | source: PllSource::HSI, | 28 | source: PllSource::HSI, |
