summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {