aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrigori Goronzy <greg@chown.ath.cx>2018-06-27 21:46:17 +0200
committerKevinOConnor <kevin@koconnor.net>2018-06-27 18:22:06 -0400
commit6078145dcd6882dda285125c784d4e09827124b9 (patch)
tree6ce6268dd8450392992a43e6830d9c2ae1066ca2
parenteb020439431d5fcba272f663a249ce1bf6448b1e (diff)
downloadkutter-6078145dcd6882dda285125c784d4e09827124b9.tar.gz
kutter-6078145dcd6882dda285125c784d4e09827124b9.tar.xz
kutter-6078145dcd6882dda285125c784d4e09827124b9.zip
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 <greg@chown.ath.cx>
-rw-r--r--src/stm32f1/gpio.c2
1 files changed, 1 insertions, 1 deletions
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[] = {