mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-10-02 14:44:32 +00:00
tests/stm32: fix test for g0 hsi sys_div
This commit is contained in:
parent
5d26bca2e7
commit
b40d30f0ac
@ -284,7 +284,9 @@ pub fn config() -> Config {
|
|||||||
|
|
||||||
#[cfg(feature = "stm32g071rb")]
|
#[cfg(feature = "stm32g071rb")]
|
||||||
{
|
{
|
||||||
config.rcc.hsi = true;
|
config.rcc.hsi = Some(Hsi {
|
||||||
|
sys_div: HsiSysDiv::DIV1,
|
||||||
|
});
|
||||||
config.rcc.pll = Some(Pll {
|
config.rcc.pll = Some(Pll {
|
||||||
source: PllSource::HSI,
|
source: PllSource::HSI,
|
||||||
prediv: PllPreDiv::DIV1,
|
prediv: PllPreDiv::DIV1,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user