drivers/can_virtual/led_virtual.c
changeset 0 4472ee7c6c3e
child 3 d9cf34cd6823
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/drivers/can_virtual/led_virtual.c	Wed May 10 16:59:40 2006 +0200
@@ -0,0 +1,20 @@
+/***************************************************************************/
+#include <led.h>
+
+void led_set_redgreen(CO_Data *d, int state)
+{
+
+        printf("LEDS %d\n",bits);
+
+        if (bits & 0x01)
+                printf("\e[41m ERROR LED ON \e[m\n");
+        else
+                printf("error led off\n");
+
+        if (bits & 0x02)
+                printf("\e[34;42m RUN LED ON \e[m\n");
+        else
+                printf("run led off\n");
+}
+
+