]> www.fi.muni.cz Git - bike-lights.git/commitdiff
control.c: reset the braking variable
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Thu, 14 Mar 2013 21:12:13 +0000 (22:12 +0100)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Thu, 14 Mar 2013 21:12:13 +0000 (22:12 +0100)
firmware/control.c

index 007a0c2883ff87d494c58192048e05615846b22f..0f19390b3cc274da5c1b03da0742a3a3e518b8b4 100644 (file)
@@ -104,6 +104,7 @@ void init_control()
 {
        dim_mode = 0;
        towbar_mode = 0;
+       braking = 0;
 }
 
 void brake_on()