diff options
| -rw-r--r-- | embassy-stm32/src/adc/mod.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/embassy-stm32/src/adc/mod.rs b/embassy-stm32/src/adc/mod.rs index bdb1ab8ac..0eeadfa93 100644 --- a/embassy-stm32/src/adc/mod.rs +++ b/embassy-stm32/src/adc/mod.rs | |||
| @@ -127,6 +127,9 @@ foreach_peripheral!( | |||
| 127 | #[cfg(not(any(stm32g4x1, stm32g4x2, stm32g4x3, stm32g4x4)))] | 127 | #[cfg(not(any(stm32g4x1, stm32g4x2, stm32g4x3, stm32g4x4)))] |
| 128 | impl crate::adc::Instance for peripherals::ADC4 {} | 128 | impl crate::adc::Instance for peripherals::ADC4 {} |
| 129 | }; | 129 | }; |
| 130 | (adc, ADC5) => { | ||
| 131 | |||
| 132 | }; | ||
| 130 | (adc, $inst:ident) => { | 133 | (adc, $inst:ident) => { |
| 131 | impl crate::adc::sealed::Instance for peripherals::$inst { | 134 | impl crate::adc::sealed::Instance for peripherals::$inst { |
| 132 | fn regs() -> crate::pac::adc::Adc { | 135 | fn regs() -> crate::pac::adc::Adc { |
