Try to improve H7 clockstuff.
This commit is contained in:
parent
696a3b8552
commit
13975a0818
@ -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,
|
||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user