aboutsummaryrefslogtreecommitdiffstats
path: root/src/generic/gpio.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2017-08-27 13:58:19 -0400
committerKevin O'Connor <kevin@koconnor.net>2017-09-20 12:55:28 -0400
commit16d2ec3a905204dd804831611aff37a4b508e0fa (patch)
tree9f2b4f64b575fae07f24ea599b8796d95d5ec86e /src/generic/gpio.h
parent4d60567bc66417c48e7c3095ceded6c24ec1888f (diff)
downloadkutter-16d2ec3a905204dd804831611aff37a4b508e0fa.tar.gz
kutter-16d2ec3a905204dd804831611aff37a4b508e0fa.tar.xz
kutter-16d2ec3a905204dd804831611aff37a4b508e0fa.zip
linux: Add support for analog IIO devices
Add support for reading analog values via the standard Linux IIO interface. This can be used on Replicape boards to sample analog input pins. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/generic/gpio.h')
-rw-r--r--src/generic/gpio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/generic/gpio.h b/src/generic/gpio.h
index 4b5dc812..1b649cab 100644
--- a/src/generic/gpio.h
+++ b/src/generic/gpio.h
@@ -1,7 +1,7 @@
#ifndef __GENERIC_GPIO_H
#define __GENERIC_GPIO_H
-#include <stdint.h>
+#include <stdint.h> // uint8_t
struct gpio_out {
uint8_t pin;