projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f8ac44c
)
altos/stm: Add AO_EXTI_MODE_PULL_NONE
author
Keith Packard
<keithp@keithp.com>
Thu, 2 Nov 2017 16:12:18 +0000
(09:12 -0700)
committer
Keith Packard
<keithp@keithp.com>
Thu, 2 Nov 2017 16:12:18 +0000
(09:12 -0700)
This is clearer than using '0'.
Signed-off-by: Keith Packard <keithp@keithp.com>
src/stm/ao_exti.h
patch
|
blob
|
history
diff --git
a/src/stm/ao_exti.h
b/src/stm/ao_exti.h
index 4f3e6132c44cca322e8d892249127654ec8d6e83..8aa2bdca9ad73cca16a2559ee1becd2f5c51075a 100644
(file)
--- 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