aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32F37x/ADC/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32F37x/ADC/main.c')
-rw-r--r--testhal/STM32F37x/ADC/main.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/testhal/STM32F37x/ADC/main.c b/testhal/STM32F37x/ADC/main.c
index fce807084..c2e81b4c3 100644
--- a/testhal/STM32F37x/ADC/main.c
+++ b/testhal/STM32F37x/ADC/main.c
@@ -62,13 +62,15 @@ static const ADCConversionGroup adcgrpcfg1 = {
NULL,
adcerrorcallback,
.u.adc = {
- 0, /* CR1 */
- 0, /* CR2 */
- { /* SMPR[2] */
+ 0, /* CR1 */
+ 0, /* CR2 */
+ 0, /* LTR */
+ 4095, /* HTR */
+ { /* SMPR[2] */
0,
0
},
- { /* SQR[3] */
+ { /* SQR[3] */
0,
0,
0