From ac090d9d52a80c207d99545fcb65ed50612436a3 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Thu, 15 Dec 2022 11:14:46 -0500 Subject: [PATCH] stm32: Fix stm32l4 build Commit c5d56f44 neglected to define ADCIN_BANK_SIZE in stm32h7_adc.c on stm32l4. Signed-off-by: Kevin O'Connor --- src/stm32/stm32h7_adc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/stm32/stm32h7_adc.c b/src/stm32/stm32h7_adc.c index 8a9bb318..a42ff587 100644 --- a/src/stm32/stm32h7_adc.c +++ b/src/stm32/stm32h7_adc.c @@ -35,6 +35,7 @@ #define ADC_ISR_LDORDY ADC_ISR_LDORDY_Msk #elif CONFIG_MACH_STM32L4 + #define ADCIN_BANK_SIZE (19) #define RCC_AHBENR_ADC (RCC->AHB2ENR) #define RCC_AHBENR_ADCEN (RCC_AHB2ENR_ADCEN) #define ADC_CKMODE (0)