summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2012-09-19 19:33:03 +0200
committerDavid Lamparter <equinox@diac24.net>2012-09-19 19:33:03 +0200
commit9e4d3410b676e101d5b63a1b2ec52d2577af84d0 (patch)
tree04baf6d6e784430edf748256be8f7a1b5ec1ab28
parenta909215be74b915801cef36440f7b2ae10248811 (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.c3
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();