diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/pin.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/pin.h b/include/pin.h index e673b56..5b37587 100644 --- a/include/pin.h +++ b/include/pin.h @@ -4,7 +4,7 @@ /* Number of user configurable I/O pins */ #define PIN_MAX 11 -typedef enum {INPUT, INPUT_PULLUP, OUTPUT, OUTPUT_TIMER} pinmode_t; +typedef enum {NONE, INPUT, INPUT_PULLUP, OUTPUT, OUTPUT_TIMER} pinmode_t; int pin_config(int pin, pinmode_t mode); pinmode_t pin_config_get(int pin); |