Skip to content

Commit

Permalink
Simplify example clock setup to work on more boards
Browse files Browse the repository at this point in the history
  • Loading branch information
korken89 committed Jun 1, 2021
1 parent 3b4daf2 commit 07b82b0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions examples/spi_dma_rxtx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ const APP: () = {
rprintln!(" - Clock init");
let clocks = rcc
.cfgr
.lse(CrystalBypass::Enable, ClockSecuritySystem::Disable)
.hsi48(true) // For RNG
.msi(MsiFreq::RANGE4M)
.sysclk(80.mhz())
.freeze(&mut flash.acr, &mut pwr);
Expand Down

0 comments on commit 07b82b0

Please sign in to comment.