stm32: don't generate adc5
This commit is contained in:
parent
f4601af2a4
commit
7307098780
@ -126,6 +126,9 @@ foreach_peripheral!(
|
|||||||
|
|
||||||
#[cfg(not(any(stm32g4x1, stm32g4x2, stm32g4x3, stm32g4x4)))]
|
#[cfg(not(any(stm32g4x1, stm32g4x2, stm32g4x3, stm32g4x4)))]
|
||||||
impl crate::adc::Instance for peripherals::ADC4 {}
|
impl crate::adc::Instance for peripherals::ADC4 {}
|
||||||
|
};
|
||||||
|
(adc, ADC5) => {
|
||||||
|
|
||||||
};
|
};
|
||||||
(adc, $inst:ident) => {
|
(adc, $inst:ident) => {
|
||||||
impl crate::adc::sealed::Instance for peripherals::$inst {
|
impl crate::adc::sealed::Instance for peripherals::$inst {
|
||||||
|
Loading…
Reference in New Issue
Block a user