Skip to content

Commit 01d149c

Browse files
committed
fix: changed clocks to 84 mhz (top speed)
1 parent 4d7f952 commit 01d149c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

neotron-bmc-nucleo/src/main.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,10 +188,10 @@ mod app {
188188
.RCC
189189
.constrain()
190190
.cfgr
191-
.hclk(48.mhz())
191+
.sysclk(84.mhz())
192+
.hclk(84.mhz())
192193
//pclk is replaced by pclk1
193-
.pclk1(48.mhz())
194-
.sysclk(48.mhz())
194+
.pclk1(42.mhz())
195195
.freeze();
196196

197197
defmt::info!("Configuring TIM2...");

0 commit comments

Comments
 (0)