projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
altos/telelco-v3.0: Don't connect PA6 to SPI
[fw/altos]
/
src
/
attiny
/
ao_exti.h
diff --git
a/src/attiny/ao_exti.h
b/src/attiny/ao_exti.h
index 8b22458e2ccd672c04475020a1b686ef3968ad04..1d1426e9d9bac47fa67da04bbb886ef6e9346f3c 100644
(file)
--- a/
src/attiny/ao_exti.h
+++ b/
src/attiny/ao_exti.h
@@
-26,7
+26,7
@@
ao_exti_setup_port(uint8_t pin, uint8_t mode, void (*callback)(void));
#define ao_exti_enable(gpio, pin) (PCMSK |= (1 << (pin)))
-#define ao_exti_disable(gpio, pin) (PCMSK &= ~(1 << (pin)))
+#define ao_exti_disable(gpio, pin) (PCMSK &=
(uint8_t)
~(1 << (pin)))
#define ao_exti_init()