From 4ec6db7a87b2f0b0e033b87ca912818dc84cbe2f Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Thu, 15 Aug 2019 22:48:07 -0400 Subject: stm32: Add support for additional ADC3 ports on stm32f4 Signed-off-by: Kevin O'Connor --- src/stm32/gpio.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/stm32/gpio.h') diff --git a/src/stm32/gpio.h b/src/stm32/gpio.h index c7602504..ad8a9979 100644 --- a/src/stm32/gpio.h +++ b/src/stm32/gpio.h @@ -22,6 +22,7 @@ void gpio_in_reset(struct gpio_in g, int32_t pull_up); uint8_t gpio_in_read(struct gpio_in g); struct gpio_adc { + void *adc; uint32_t chan; }; struct gpio_adc gpio_adc_setup(uint32_t pin); -- cgit v1.2.3-70-g09d2