diff options
Diffstat (limited to 'testhal/STM32/STM32L4xx')
-rw-r--r-- | testhal/STM32/STM32L4xx/ADC/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testhal/STM32/STM32L4xx/ADC/main.c b/testhal/STM32/STM32L4xx/ADC/main.c index ee950f26f..95b211f58 100644 --- a/testhal/STM32/STM32L4xx/ADC/main.c +++ b/testhal/STM32/STM32L4xx/ADC/main.c @@ -59,6 +59,7 @@ static const ADCConversionGroup adcgrpcfg1 = { NULL,
adcerrorcallback,
ADC_CFGR_CONT, /* CFGR */
+ 0, /* CFGR2 */
ADC_TR(0, 4095), /* TR1 */
{ /* SMPR[2] */
0,
@@ -84,6 +85,7 @@ static const ADCConversionGroup adcgrpcfg2 = { adccallback,
adcerrorcallback,
ADC_CFGR_CONT, /* CFGR */
+ 0, /* CFGR2 */
ADC_TR(0, 4095), /* TR1 */
{ /* SMPR[2] */
ADC_SMPR1_SMP_AN5(ADC_SMPR_SMP_24P5)
|