projects
/
hackover2013-badge-firmware.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Spieler splodiert.
[hackover2013-badge-firmware.git]
/
core
/
gpio
/
gpio.c
diff --git
a/core/gpio/gpio.c
b/core/gpio/gpio.c
index
fe80dbc
..
2f03e9a
100644
(file)
--- a/
core/gpio/gpio.c
+++ b/
core/gpio/gpio.c
@@
-306,7
+306,7
@@
void gpioSetInterrupt (uint32_t portNum, uint32_t bitPos, gpioInterruptSense_t s
*gpiois |= (0x1<<bitPos);
}
- event == gpioInterruptEvent_Active
High
? (*gpioiev &= ~(0x1<<bitPos)) : (*gpioiev |= (0x1<<bitPos));
+ event == gpioInterruptEvent_Active
Low
? (*gpioiev &= ~(0x1<<bitPos)) : (*gpioiev |= (0x1<<bitPos));
return;
}
This page took
0.024991 seconds
and
4
git commands to generate.