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:
3c19c7c
)
Minor speed tweek
author
Kevin Townsend
<kevin@ktownsend.com>
Sat, 31 Mar 2012 23:39:12 +0000
(
01:39
+0200)
committer
Kevin Townsend
<kevin@ktownsend.com>
Sat, 31 Mar 2012 23:39:12 +0000
(
01:39
+0200)
tools/examples/default/main.c
patch
|
blob
|
history
diff --git
a/tools/examples/default/main.c
b/tools/examples/default/main.c
index
7c2bd31
..
80c0e8e
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,
lastSecond % 2
);
}
// Poll for CLI input if CFG_INTERFACE is enabled in projectconfig.h
This page took
0.024089 seconds
and
4
git commands to generate.