]> www.fi.muni.cz Git - bike-lights.git/commitdiff
gpio led - reflect ambient light
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Mon, 10 Sep 2012 19:59:01 +0000 (21:59 +0200)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Mon, 10 Sep 2012 19:59:34 +0000 (21:59 +0200)
firmware/pattern.c

index fb74ae0204426579429c39a59af78d97ef9f34f4..a39be3657c579a4e4cf8d5a5a65ebb61c729f7f8 100644 (file)
@@ -128,8 +128,8 @@ static inline pattern_t *pattern_select(unsigned char n)
        if (n == 2) {
                return mode1_pattern;
        }
-       // return number_pattern(1+ambient_zone);
-       return off_pattern;
+       return number_pattern(1+ambient_zone);
+       // return off_pattern;
 }
 
 void patterns_next_tick()