diff options
author | David Lamparter <equinox@diac24.net> | 2012-09-19 19:33:03 +0200 |
---|---|---|
committer | David Lamparter <equinox@diac24.net> | 2012-09-19 19:33:03 +0200 |
commit | 9e4d3410b676e101d5b63a1b2ec52d2577af84d0 (patch) | |
tree | 04baf6d6e784430edf748256be8f7a1b5ec1ab28 | |
parent | a909215be74b915801cef36440f7b2ae10248811 (diff) |
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.
-rw-r--r-- | lightctrl.c | 3 |
1 files changed, 3 insertions, 0 deletions
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(); |