From 6ea8f09c022b16f6316a1253821ae44d933cec30 Mon Sep 17 00:00:00 2001
From: "Nicolas \"Pixel\" Noble" <pixel@nobis-crew.org>
Date: Thu, 27 Jan 2011 05:14:59 +0100
Subject: Now this is why the 4th LED on the mbed board wasn't showing up...

---
 demo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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) {
-- 
cgit v1.2.3