From 53bc987e50d963a3de55a2dd44b2c5762c0e0a06 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Wed, 20 Jun 2012 14:24:40 +0200 Subject: light: CAN status out --- lightctrl.c | 4 ++++ 1 file changed, 4 insertions(+) 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; } } } -- cgit v1.2.1