From 6078145dcd6882dda285125c784d4e09827124b9 Mon Sep 17 00:00:00 2001 From: Grigori Goronzy Date: Wed, 27 Jun 2018 21:46:17 +0200 Subject: [PATCH] stm32f1: fix ADC pin list For some reason, the upper two pin definitions were missing. Found while writing the port documentation. Signed-off-by: Grigori Goronzy --- src/stm32f1/gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stm32f1/gpio.c b/src/stm32f1/gpio.c index f988700a..caadf277 100644 --- a/src/stm32f1/gpio.c +++ b/src/stm32f1/gpio.c @@ -137,7 +137,7 @@ static const uint8_t adc_pins[] = { GPIO('A', 0), GPIO('A', 1), GPIO('A', 2), GPIO('A', 3), GPIO('A', 4), GPIO('A', 5), GPIO('A', 6), GPIO('A', 7), GPIO('B', 0), GPIO('B', 1), GPIO('C', 0), GPIO('C', 1), - GPIO('C', 2), GPIO('C', 3) + GPIO('C', 2), GPIO('C', 3), GPIO('C', 4), GPIO('C', 5) }; static const uint32_t adc_channels[] = {