aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2022-12-15 11:14:46 -0500
committerKevin O'Connor <kevin@koconnor.net>2022-12-15 11:27:19 -0500
commitac090d9d52a80c207d99545fcb65ed50612436a3 (patch)
treecf39863081c7ee3ff69e06f4b36472b7d7ca9330 /src
parentf31540b3571c211739cfad4c207309e222f25842 (diff)
downloadkutter-ac090d9d52a80c207d99545fcb65ed50612436a3.tar.gz
kutter-ac090d9d52a80c207d99545fcb65ed50612436a3.tar.xz
kutter-ac090d9d52a80c207d99545fcb65ed50612436a3.zip
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>
Diffstat (limited to 'src')
-rw-r--r--src/stm32/stm32h7_adc.c1
1 files changed, 1 insertions, 0 deletions
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)