rcc: fix mux determinism
This commit is contained in:
parent
6371d5472b
commit
61c9f8c691
@ -20,6 +20,10 @@ impl PeripheralToClock {
|
|||||||
if let Some(_) = regex!(r"^fieldset/CCIPR\d?$").captures(&key) {
|
if let Some(_) = regex!(r"^fieldset/CCIPR\d?$").captures(&key) {
|
||||||
for field in &body.fields {
|
for field in &body.fields {
|
||||||
if let Some(peri) = field.name.strip_suffix("SEL") {
|
if let Some(peri) = field.name.strip_suffix("SEL") {
|
||||||
|
if family_muxes.get(peri).is_some() && reg != "CCIPR" {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
family_muxes.insert(
|
family_muxes.insert(
|
||||||
peri.to_string(),
|
peri.to_string(),
|
||||||
stm32_data_serde::chip::core::peripheral::rcc::Mux {
|
stm32_data_serde::chip::core::peripheral::rcc::Mux {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user