X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?p=bike-lights.git;a=blobdiff_plain;f=firmware%2Fcontrol.c;h=da59972b135c59c2cb2b5678aa4bb578724a327c;hp=4de03ab4a0a7751e9ba5922a96989507043fc7c7;hb=c30006aaf666f7cff3a6ab949c613c2f8cc6163b;hpb=101b21a45bf863b226ca5298226732f31d7e5dbc diff --git a/firmware/control.c b/firmware/control.c index 4de03ab..da59972 100644 --- a/firmware/control.c +++ b/firmware/control.c @@ -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; }