arch/arm/src/stm32/stm32_adc.c: Allow multiple channels without DMA on STM32L15XX
This commit is contained in:
parent
aeda17318d
commit
abf251f2a9
@ -186,6 +186,8 @@
|
||||
#else
|
||||
# if defined(CONFIG_STM32_STM32F30XX)
|
||||
# define ADC_MAX_SAMPLES ADC_MAX_CHANNELS_DMA /* Works without DMA should sampling frequency be reduced */
|
||||
# elif defined(CONFIG_STM32_STM32L15XX)
|
||||
# define ADC_MAX_SAMPLES ADC_MAX_CHANNELS_DMA /* Works without DMA as IO_START_CONV can switch channels on the fly */
|
||||
# else
|
||||
# define ADC_MAX_SAMPLES ADC_MAX_CHANNELS_NODMA
|
||||
# endif
|
||||
|
Loading…
Reference in New Issue
Block a user