diff --git a/testhal/STM32/multi/ADC/cfg/stm32g071rb_nucleo64/portab.c b/testhal/STM32/multi/ADC/cfg/stm32g071rb_nucleo64/portab.c index 769b77acb..53722b207 100644 --- a/testhal/STM32/multi/ADC/cfg/stm32g071rb_nucleo64/portab.c +++ b/testhal/STM32/multi/ADC/cfg/stm32g071rb_nucleo64/portab.c @@ -112,7 +112,7 @@ const ADCConversionGroup portab_adcgrpcfg2 = { void portab_setup(void) { /* ADC inputs.*/ - palSetGroupMode(GPIOC, PAL_PORT_BIT(0) | PAL_PORT_BIT(1), + palSetGroupMode(GPIOB, PAL_PORT_BIT(2) | PAL_PORT_BIT(10), 0, PAL_MODE_INPUT_ANALOG); }