Skip to content

Commit 07b82b0

Browse files
committed
Simplify example clock setup to work on more boards
1 parent 3b4daf2 commit 07b82b0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

examples/spi_dma_rxtx.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ const APP: () = {
3737
rprintln!(" - Clock init");
3838
let clocks = rcc
3939
.cfgr
40-
.lse(CrystalBypass::Enable, ClockSecuritySystem::Disable)
41-
.hsi48(true) // For RNG
4240
.msi(MsiFreq::RANGE4M)
4341
.sysclk(80.mhz())
4442
.freeze(&mut flash.acr, &mut pwr);

0 commit comments

Comments
 (0)