Try to improve H7 clockstuff.

This commit is contained in:
Bob McWhirter 2021-07-09 09:33:17 -04:00
parent 696a3b8552
commit 13975a0818
3 changed files with 5 additions and 1 deletions

View File

@ -532,6 +532,7 @@ pub unsafe fn init(config: Config) {
ahb1: core_clocks.hclk,
ahb2: core_clocks.hclk,
ahb3: core_clocks.hclk,
ahb4: core_clocks.hclk,
apb1: core_clocks.pclk1,
apb2: core_clocks.pclk2,
apb4: core_clocks.pclk4,

View File

@ -26,6 +26,9 @@ pub struct Clocks {
#[cfg(any(rcc_l4, rcc_f4, rcc_h7, rcc_wb55, rcc_wl5x))]
pub ahb3: Hertz,
#[cfg(any(rcc_h7))]
pub ahb4: Hertz,
#[cfg(any(rcc_h7))]
pub apb4: Hertz,
}

@ -1 +1 @@
Subproject commit a2167373ee8fd0e75dce003bfdbadda8b32ff77c
Subproject commit 3d0489cd17a4ea1d8da289bd5854346fdfbf5f61