aboutsummaryrefslogtreecommitdiffstats
path: root/src/linux/analog.c
diff options
context:
space:
mode:
authorLucio Tarantino <lucio.tarantino@gmail.com>2020-06-06 18:47:11 +0200
committerGitHub <noreply@github.com>2020-06-06 12:47:11 -0400
commitb7699d374ab17e6054d0d83a9deb7be9e70dcdc8 (patch)
treec5f27d9402cdaf124814ab71891c70e6cd730c8b /src/linux/analog.c
parent7912c39f9ed1601d3fcd230d3216ee8f1750c31a (diff)
downloadkutter-b7699d374ab17e6054d0d83a9deb7be9e70dcdc8.tar.gz
kutter-b7699d374ab17e6054d0d83a9deb7be9e70dcdc8.tar.xz
kutter-b7699d374ab17e6054d0d83a9deb7be9e70dcdc8.zip
linux: Ability to use multiple GPIO chips (#2935)
Signed-off-by: Lucio Tarantino <lucio.tarantino@gmail.com>
Diffstat (limited to 'src/linux/analog.c')
-rw-r--r--src/linux/analog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linux/analog.c b/src/linux/analog.c
index aa8fb701..55420ce6 100644
--- a/src/linux/analog.c
+++ b/src/linux/analog.c
@@ -15,7 +15,7 @@
DECL_CONSTANT("ADC_MAX", 4095); // Assume 12bit adc
-#define ANALOG_START (1<<8)
+#define ANALOG_START (1<<12)
DECL_ENUMERATION_RANGE("pin", "analog0", ANALOG_START, 8);