]> www.fi.muni.cz Git - bike-lights.git/blobdiff - firmware/control.c
control.c: on_patterns should not last forever
[bike-lights.git] / firmware / control.c
index eb35aca947ba3be71a0b2b53bb58d96e5e7ad7cd..57968357f970ad8284cd97f3021cf40eccacd17f 100644 (file)
@@ -30,15 +30,18 @@ static pattern_t panic_pattern[] = {
 };
 
 pattern_t on1_pattern [] = {
-       { 1, PATTERN_FOREVER }
+       { 1, 0x10 },
+       PATTERN_END
 };
 
 static pattern_t on2_pattern [] = {
-       { 2, PATTERN_FOREVER }
+       { 2, 0x10 },
+       PATTERN_END
 };
 
 static pattern_t on3_pattern [] = {
-       { 3, PATTERN_FOREVER }
+       { 3, 0x10 },
+       PATTERN_END
 };
 
 static pattern_t normal2_pattern[] = {