From: Jan "Yenya" Kasprzak Date: Mon, 10 Sep 2012 19:59:01 +0000 (+0200) Subject: gpio led - reflect ambient light X-Git-Tag: gedasymbols-20120913~1 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=b475975f99700f3e887df281130a3b9de62368c5;p=bike-lights.git gpio led - reflect ambient light --- diff --git a/firmware/pattern.c b/firmware/pattern.c index fb74ae0..a39be36 100644 --- a/firmware/pattern.c +++ b/firmware/pattern.c @@ -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()