summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2011-01-27 05:14:59 +0100
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2011-01-27 05:14:59 +0100
commit6ea8f09c022b16f6316a1253821ae44d933cec30 (patch)
treeff352d8d4e50864c1192c38f2cefba344caf9284
parentd8730c7de5cdb4117b0ca6c6f63eaad276aa2ab2 (diff)
Now this is why the 4th LED on the mbed board wasn't showing up...
-rw-r--r--demo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demo.c b/demo.c
index c3df762..c3df902 100644
--- a/demo.c
+++ b/demo.c
@@ -13,7 +13,7 @@ static void setupLEDs() {
}
void litLED(int led, int value) {
- if ((led >= 4) || (led < 0))
+ if ((led > 4) || (led < 0))
return;
switch (led) {