Skip to content

Commit b40d30f

Browse files
committed
tests/stm32: fix test for g0 hsi sys_div
1 parent 5d26bca commit b40d30f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/stm32/src/common.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,9 @@ pub fn config() -> Config {
284284

285285
#[cfg(feature = "stm32g071rb")]
286286
{
287-
config.rcc.hsi = true;
287+
config.rcc.hsi = Some(Hsi {
288+
sys_div: HsiSysDiv::DIV1,
289+
});
288290
config.rcc.pll = Some(Pll {
289291
source: PllSource::HSI,
290292
prediv: PllPreDiv::DIV1,

0 commit comments

Comments
 (0)