summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2012-06-20 14:24:40 +0200
committerDavid Lamparter <equinox@diac24.net>2012-06-20 14:24:40 +0200
commit53bc987e50d963a3de55a2dd44b2c5762c0e0a06 (patch)
treee5f93c57648d854ca15bc358c9dd467360a3eefb
parent52f3a0ea9a7f4af188d37600f6b5264b6100bc09 (diff)
light: CAN status out
-rw-r--r--lightctrl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lightctrl.c b/lightctrl.c
index 5c70c90..ce9117c 100644
--- a/lightctrl.c
+++ b/lightctrl.c
@@ -109,6 +109,10 @@ int main(void)
uart_puts(" noise ");
uart_puthex16(dalistat.manchester);
uart_puts(" mch-err\n");
+ break;
+ case 1536:
+ can_send(0xcc08047f, 1, (uint8_t *)&dim_state);
+ break;
}
}
}