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
(from parent 1:
b15f77b
)
Fixed LED logic
author
Kevin Townsend
<kevin@ktownsend.com>
Sat, 28 Jan 2012 02:59:18 +0000
(
03:59
+0100)
committer
Kevin Townsend
<kevin@ktownsend.com>
Sat, 28 Jan 2012 02:59:18 +0000
(
03:59
+0100)
tools/examples/default/main.c
patch
|
blob
|
history
diff --git
a/tools/examples/default/main.c
b/tools/examples/default/main.c
index
6d5c158
..
7c2bd31
100644
(file)
--- a/
tools/examples/default/main.c
+++ b/
tools/examples/default/main.c
@@
-68,7
+68,7
@@
int main(void)
if (currentSecond != lastSecond)
{
lastSecond = currentSecond;
- gpioSetValue(CFG_LED_PORT, CFG_LED_PIN,
~
(gpioGetValue(CFG_LED_PORT, CFG_LED_PIN)));
+ gpioSetValue(CFG_LED_PORT, CFG_LED_PIN,
!
(gpioGetValue(CFG_LED_PORT, CFG_LED_PIN)));
}
// Poll for CLI input if CFG_INTERFACE is enabled in projectconfig.h
This page took
0.019918 seconds
and
4
git commands to generate.