Merge pull request #17570 from maribu/backport/2022.01/nucleo_f767zi_fix_adc_pin_config

boards/nucleo-f767zi: Fix adc pin config in periph_conf.h [backport 2022.01]
This commit is contained in:
Alexandre Abadie 2022-01-25 15:25:36 +01:00 committed by GitHub
commit 5db69b471c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -198,12 +198,12 @@ static const eth_conf_t eth_config = {
* @{
*/
static const adc_conf_t adc_config[] = {
{GPIO_PIN(PORT_A, 3), 0, 0},
{GPIO_PIN(PORT_C, 0), 0, 1},
{GPIO_PIN(PORT_C, 3), 0, 4},
{GPIO_PIN(PORT_F, 3), 0, 8},
{GPIO_PIN(PORT_F, 5), 0, 11},
{GPIO_PIN(PORT_F, 10), 0, 10},
{GPIO_PIN(PORT_A, 3), 2, 3},
{GPIO_PIN(PORT_C, 0), 2, 10},
{GPIO_PIN(PORT_C, 3), 2, 13},
{GPIO_PIN(PORT_F, 3), 2, 9},
{GPIO_PIN(PORT_F, 5), 2, 15},
{GPIO_PIN(PORT_F, 10), 2, 8},
};
#define ADC_NUMOF ARRAY_SIZE(adc_config)