diff options
author | Keith Packard <keithp@keithp.com> | 2017-11-02 09:12:18 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2017-11-02 09:12:18 -0700 |
commit | f9cfe4d075dac9c8af9b9843f1a1b99bfa57fd84 (patch) | |
tree | 8b89b26014e3f320c311d54bd55b6f935ee30439 | |
parent | f8ac44c62469ac97d1ab01e21da8230c39c87518 (diff) |
altos/stm: Add AO_EXTI_MODE_PULL_NONE
This is clearer than using '0'.
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | src/stm/ao_exti.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stm/ao_exti.h b/src/stm/ao_exti.h index 4f3e6132..8aa2bdca 100644 --- a/src/stm/ao_exti.h +++ b/src/stm/ao_exti.h @@ -21,6 +21,7 @@ #define AO_EXTI_MODE_RISING 1 #define AO_EXTI_MODE_FALLING 2 +#define AO_EXTI_MODE_PULL_NONE 0 #define AO_EXTI_MODE_PULL_UP 4 #define AO_EXTI_MODE_PULL_DOWN 8 #define AO_EXTI_PRIORITY_LOW 16 |