aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/stm32f2/adc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple/stm32f2/adc.c')
-rw-r--r--libmaple/stm32f2/adc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmaple/stm32f2/adc.c b/libmaple/stm32f2/adc.c
index 0380736..a400d7b 100644
--- a/libmaple/stm32f2/adc.c
+++ b/libmaple/stm32f2/adc.c
@@ -74,7 +74,7 @@ void adc_foreach(void (*fn)(const adc_dev*)) {
fn(ADC3);
}
-void adc_gpio_cfg(gpio_dev *gdev, uint8 bit) {
+void adc_config_gpio(const adc_dev *ignored, gpio_dev *gdev, uint8 bit) {
gpio_set_modef(gdev, bit, GPIO_MODE_ANALOG, GPIO_MODEF_PUPD_NONE);
}