projects
/
hackover2013-badge-firmware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f065fad
)
Fixed reversed bit on IEV
author
Kevin Townsend
<kevin@ktownsend.com>
Fri, 2 Nov 2012 22:22:31 +0000
(23:22 +0100)
committer
Kevin Townsend
<kevin@ktownsend.com>
Fri, 2 Nov 2012 22:22:31 +0000
(23:22 +0100)
core/gpio/gpio.c
patch
|
blob
|
history
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.024871 seconds
and
4
git commands to generate.