stm32: don't generate adc5

This commit is contained in:
xoviat 2023-09-05 17:50:45 -05:00
parent f4601af2a4
commit 7307098780

View File

@ -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 {