From 4ab934ab72af3f16993caf0eab62f68a08ded13a Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Sun, 10 Mar 2013 04:41:28 +0100 Subject: dali/wdt: check bus on boot, clear wdt --- lightctrl.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lightctrl.c') diff --git a/lightctrl.c b/lightctrl.c index e901714..bc5e67e 100644 --- a/lightctrl.c +++ b/lightctrl.c @@ -216,9 +216,12 @@ int main(void) wdt_reset(); uart_puts("\ninit done\n"); + dali_buscheck(); + can_init(); can_CANSTAT(); + wdt_reset(); dali_search(); while (1) { -- cgit v1.2.1