aboutsummaryrefslogtreecommitdiffstats
path: root/src/sam4e8e/gpio.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2018-12-26 11:32:17 -0500
committerKevin O'Connor <kevin@koconnor.net>2019-01-07 19:30:17 -0500
commita978167e3971bcf517a588072d081a42d37d48a0 (patch)
tree99d6adc2c1bd0b0e0e0e35f100aebeef2fed6bf8 /src/sam4e8e/gpio.h
parent8e2c1a4ab24a4f26a558784164ac26b84e0f37d0 (diff)
downloadkutter-a978167e3971bcf517a588072d081a42d37d48a0.tar.gz
kutter-a978167e3971bcf517a588072d081a42d37d48a0.tar.xz
kutter-a978167e3971bcf517a588072d081a42d37d48a0.zip
sam4e8e: Use just a single 'chan' member in 'struct gpio_adc'
Remove the 'pin' and 'afec' variables from 'struct gpio_adc'. This is in preparation to merge the sam3x8e and sam4e8e code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/sam4e8e/gpio.h')
-rw-r--r--src/sam4e8e/gpio.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/sam4e8e/gpio.h b/src/sam4e8e/gpio.h
index addd41b0..a32a59a7 100644
--- a/src/sam4e8e/gpio.h
+++ b/src/sam4e8e/gpio.h
@@ -26,8 +26,6 @@ void gpio_in_reset(struct gpio_in g, int8_t pull_up);
uint8_t gpio_in_read(struct gpio_in g);
struct gpio_adc {
- uint8_t pin;
- void *afec;
uint32_t chan;
};