From bcc7d7b15f630f73df082defe31ebfa0d314ec9f Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Wed, 16 Mar 2022 10:30:19 +0000 Subject: [PATCH] Fixed ADC triggering for G071 build. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15519 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 --- testhal/STM32/multi/ADC/cfg/stm32g071rb_nucleo64/portab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testhal/STM32/multi/ADC/cfg/stm32g071rb_nucleo64/portab.c b/testhal/STM32/multi/ADC/cfg/stm32g071rb_nucleo64/portab.c index 76a34150c..e67ad9fb1 100644 --- a/testhal/STM32/multi/ADC/cfg/stm32g071rb_nucleo64/portab.c +++ b/testhal/STM32/multi/ADC/cfg/stm32g071rb_nucleo64/portab.c @@ -89,7 +89,7 @@ const ADCConversionGroup portab_adcgrpcfg2 = { .cfgr1 = ADC_CFGR1_CONT | ADC_CFGR1_RES_12BIT | ADC_CFGR1_EXTEN_RISING | - ADC_CFGR1_EXTSEL_SRC(0), + ADC_CFGR1_EXTSEL_SRC(5), .cfgr2 = 0, .tr1 = ADC_TR_DISABLED, .tr2 = ADC_TR_DISABLED,