diff options
Diffstat (limited to 'sw/picardy/src/main.rs')
-rw-r--r-- | sw/picardy/src/main.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/picardy/src/main.rs b/sw/picardy/src/main.rs index 3a2e500..d354fbc 100644 --- a/sw/picardy/src/main.rs +++ b/sw/picardy/src/main.rs @@ -97,7 +97,9 @@ fn main() -> ! { let mut rcc = dp.RCC.constrain(); let mut afio = dp.AFIO.constrain(&mut rcc.apb2); let clocks = rcc.cfgr - // TODO .use_hse(8.mhz()) + .use_hse(16.mhz()) + .sysclk(48.mhz()) + .pclk1(24.mhz()) .adcclk(2.mhz()) .freeze(&mut flash.acr); let mut delay = Delay::new(cp.SYST, clocks); |