limit ADC1 clocks fallback for stm32l series
This commit is contained in:
parent
08c1f451b6
commit
1cc9a2fcca
@ -379,7 +379,7 @@ impl PeripheralToClock {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Absolute fallback, match against the clocks for just the first ADC
|
// Absolute fallback, match against the clocks for just the first ADC
|
||||||
if clocks.contains_key("ADC1") {
|
if peri_name == "ADC" && clocks.contains_key("ADC1") {
|
||||||
return clocks.get("ADC1");
|
return clocks.get("ADC1");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user