summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2017-11-02 09:12:18 -0700
committerKeith Packard <keithp@keithp.com>2017-11-11 16:36:41 -0800
commit82e552d194216b41d27d805bee2947127c2d555b (patch)
tree3722213c5cfc010acafd073130719bfb3280c0be /src
parent5460d7ff46116901bceacd43282b406c446dded5 (diff)
altos/stm: Add AO_EXTI_MODE_PULL_NONE
This is clearer than using '0'. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r--src/stm/ao_exti.h1
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