]> www.fi.muni.cz Git - bike-lights.git/commitdiff
log reset count immediately
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Wed, 29 Aug 2012 10:46:12 +0000 (12:46 +0200)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Wed, 29 Aug 2012 10:46:12 +0000 (12:46 +0200)
main.c

diff --git a/main.c b/main.c
index 0953063de92e264c8308b98c60d75e1b308f24b1..356f8d4f8ecab70181d87fb8e0b21b6f2f8c0198 100644 (file)
--- a/main.c
+++ b/main.c
@@ -7,9 +7,10 @@
 
 int main(void)
 {
-       _delay_ms(1500);
        log_init();
 
+       _delay_ms(1500);
+
        init_pwm();
        init_adc();
        init_tmr();