aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32f4/adc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stm32f4/adc.c')
-rw-r--r--src/stm32f4/adc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stm32f4/adc.c b/src/stm32f4/adc.c
index e112c2a0..00eac8f0 100644
--- a/src/stm32f4/adc.c
+++ b/src/stm32f4/adc.c
@@ -44,7 +44,7 @@ gpio_adc_setup(uint32_t pin)
| (aticks << 21) | (aticks << 24) | (aticks << 27));
ADC1->CR2 = ADC_CR2_ADON;
- gpio_peripheral(pin, GPIO_ANALOG, 0, 0);
+ gpio_peripheral(pin, GPIO_ANALOG, 0);
return (struct gpio_adc){ .chan = chan };
}