Skip to content

Commit

Permalink
Add support for stm32f4 additional PLL SAI divider
Browse files Browse the repository at this point in the history
I'm as new to Rust as to Embassy, so sorry if this does not match your coding standards, but at least it works.
  • Loading branch information
I--P authored Oct 9, 2024
1 parent ff1a0a1 commit 55d85e1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions embassy-stm32/src/rcc/f247.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,6 @@ pub(crate) unsafe fn init(config: Config) {
RCC.dckcfgr().modify(|w| w.set_pllsaidivq(config.pllsai_divdivq));
pllsai.q = Some(unwrap!(pllsai.q) / (1 + config.pllsai_divdivq.to_bits()));


info!("KAPOUE {}",pllsai.q);
// Configure sysclk
let sys = match config.sys {
Sysclk::HSI => unwrap!(hsi),
Expand Down

0 comments on commit 55d85e1

Please sign in to comment.