diff --git a/cpu/stm32/include/periph/f2/periph_cpu.h b/cpu/stm32/include/periph/f2/periph_cpu.h index 598dfbc3b5..f16d4f5f35 100644 --- a/cpu/stm32/include/periph/f2/periph_cpu.h +++ b/cpu/stm32/include/periph/f2/periph_cpu.h @@ -28,7 +28,11 @@ extern "C" { /** * @brief Available number of ADC devices */ +#if defined (ADC3) +#define ADC_DEVS (3U) +#else #define ADC_DEVS (2U) +#endif #ifndef DOXYGEN