]> www.fi.muni.cz Git - bike-lights.git/blobdiff - firmware/control.c
ambient.c: adjust the day/dawn values
[bike-lights.git] / firmware / control.c
index 4de03ab4a0a7751e9ba5922a96989507043fc7c7..da59972b135c59c2cb2b5678aa4bb578724a327c 100644 (file)
@@ -158,8 +158,8 @@ pattern_t *pwmled0_pattern_select()
 
        switch (ambient_zone) {
        case 0: return dim_mode ? NULL : number_pattern(2, 1);
-       case 1: return dim_mode ? NULL : normal3_pattern;
-       case 2: return dim_mode ? slow3_pattern : normal3_pattern;
+       case 1: return dim_mode ? slow1_pattern : normal2_pattern;
+       case 2: return dim_mode ? slow2_pattern : normal3_pattern;
        case 3:
        default: return dim_mode ? slow3_pattern : normal4_pattern;
        }