Skip to content

Commit 2dc2ba3

Browse files
f-brooli-obk
authored andcommitted
Add missing brackets
1 parent 69baa3a commit 2dc2ba3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/system_clock.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,9 @@ pub fn get_ahb_frequency() -> u32 {
134134
}
135135

136136
pub fn get_apb1_frequency() -> u32 {
137-
get_ahb_frequency / 4 // 54 MHz
137+
get_ahb_frequency() / 4 // 54 MHz
138138
}
139139

140140
pub fn get_apb2_frequency() -> u32 {
141-
get_ahb_frequency / 2 // 108 MHz
141+
get_ahb_frequency() / 2 // 108 MHz
142142
}

0 commit comments

Comments
 (0)