add back device specific capabilities
authorMart Lubbers <mart@martlubbers.net>
Tue, 21 Mar 2017 09:49:54 +0000 (10:49 +0100)
committerMart Lubbers <mart@martlubbers.net>
Tue, 21 Mar 2017 09:49:54 +0000 (10:49 +0100)
client/interpret.c

index 86e3964..b9d0c88 100644 (file)
@@ -156,7 +156,7 @@ void run_task(struct task *t)
                        sp--;
                        break;
 #endif
-//#if HAVELED == 1
+#if HAVELED == 1
                case BCLEDON: trace("LedOn(%d)", program[pc]);
                        led_on(stack[sp-1]);
                        sp--;
@@ -165,7 +165,7 @@ void run_task(struct task *t)
                        led_off(stack[sp-1]);
                        sp--;
                        break;
-//#endif
+#endif
                default:
                        trace("unrecognized");
                        die("Unrecognized command: %d", program[pc-1]);