stm32: Fix stm32l4 build
Commit c5d56f44
neglected to define ADCIN_BANK_SIZE in stm32h7_adc.c
on stm32l4.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
f31540b357
commit
ac090d9d52
|
@ -35,6 +35,7 @@
|
||||||
#define ADC_ISR_LDORDY ADC_ISR_LDORDY_Msk
|
#define ADC_ISR_LDORDY ADC_ISR_LDORDY_Msk
|
||||||
|
|
||||||
#elif CONFIG_MACH_STM32L4
|
#elif CONFIG_MACH_STM32L4
|
||||||
|
#define ADCIN_BANK_SIZE (19)
|
||||||
#define RCC_AHBENR_ADC (RCC->AHB2ENR)
|
#define RCC_AHBENR_ADC (RCC->AHB2ENR)
|
||||||
#define RCC_AHBENR_ADCEN (RCC_AHB2ENR_ADCEN)
|
#define RCC_AHBENR_ADCEN (RCC_AHB2ENR_ADCEN)
|
||||||
#define ADC_CKMODE (0)
|
#define ADC_CKMODE (0)
|
||||||
|
|
Loading…
Reference in New Issue