File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1313
1414### Fixed
1515
16+ - Fix wrong frequency reported by ` MonoTimer `
17+ - Fix wrong timings generated by ` Timer::syst `
1618- Fix period retrieval for timers
1719
1820### Changed
Original file line number Diff line number Diff line change @@ -241,7 +241,7 @@ impl MonoTimer {
241241 drop ( dwt) ;
242242
243243 MonoTimer {
244- frequency : clocks. sysclk ( ) ,
244+ frequency : clocks. hclk ( ) ,
245245 }
246246 }
247247
Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ impl Timer<SYST> {
163163 syst. set_clock_source ( SystClkSource :: Core ) ;
164164 Self {
165165 tim : syst,
166- clk : clocks. sysclk ( ) ,
166+ clk : clocks. hclk ( ) ,
167167 }
168168 }
169169
You can’t perform that action at this time.
0 commit comments