From 9e4d3410b676e101d5b63a1b2ec52d2577af84d0 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Wed, 19 Sep 2012 19:33:03 +0200 Subject: light: 1s boot delay some stuff wasn't coming up fast enough, causing the initial DALI bus scan to fail. probably a capacitor somewhere or sth. --- lightctrl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lightctrl.c b/lightctrl.c index cc9a686..6701a66 100644 --- a/lightctrl.c +++ b/lightctrl.c @@ -61,6 +61,9 @@ int main(void) dim_init(); sei(); + + uart_puts("\ndelay...\n"); + _delay_ms(1000); uart_puts("\ninit done\n"); can_init(); -- cgit v1.2.1