linux: Ability to use multiple GPIO chips (#2935)

Signed-off-by: Lucio Tarantino <lucio.tarantino@gmail.com>
This commit is contained in:
Lucio Tarantino
2020-06-06 18:47:11 +02:00
committed by GitHub
parent 7912c39f9e
commit b7699d374a
4 changed files with 53 additions and 20 deletions

View File

@@ -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);