diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2011-01-27 05:14:59 +0100 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2011-01-27 05:14:59 +0100 |
commit | 6ea8f09c022b16f6316a1253821ae44d933cec30 (patch) | |
tree | ff352d8d4e50864c1192c38f2cefba344caf9284 | |
parent | d8730c7de5cdb4117b0ca6c6f63eaad276aa2ab2 (diff) |
Now this is why the 4th LED on the mbed board wasn't showing up...
-rw-r--r-- | demo.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |