cargo fmt
This commit is contained in:
parent
7c7194d546
commit
2f59dea33f
@ -1015,7 +1015,11 @@ fn process_core(
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
let addr = if (chip_name.starts_with("STM32F0") || chip_name.starts_with("STM32L1") || chip_name.starts_with("STM32L0")) && pname == "ADC" {
|
let addr = if (chip_name.starts_with("STM32F0")
|
||||||
|
|| chip_name.starts_with("STM32L1")
|
||||||
|
|| chip_name.starts_with("STM32L0"))
|
||||||
|
&& pname == "ADC"
|
||||||
|
{
|
||||||
defines.get_peri_addr("ADC1")
|
defines.get_peri_addr("ADC1")
|
||||||
} else if chip_name.starts_with("STM32H7") && pname == "HRTIM" {
|
} else if chip_name.starts_with("STM32H7") && pname == "HRTIM" {
|
||||||
defines.get_peri_addr("HRTIM1")
|
defines.get_peri_addr("HRTIM1")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user