Skip to content

Commit a0ce654

Browse files
committed
Minor bug fix for usb serial example
1 parent 1b25dc5 commit a0ce654

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/usb_serial.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ fn main() -> ! {
1515
let dp = pac::Peripherals::take().unwrap();
1616

1717
let mut rcc = dp.RCC.freeze(rcc::Config::hsi16());
18-
let mut syscfg = SYSCFG::new(dp.SYSCFG_COMP, &mut rcc);
18+
let mut syscfg = SYSCFG::new(dp.SYSCFG, &mut rcc);
1919
rcc.enable_hsi48(&mut syscfg, dp.CRS);
2020

2121
let gpioa = dp.GPIOA.split(&mut rcc);

0 commit comments

Comments
 (0)