From: Jan "Yenya" Kasprzak Date: Thu, 14 Mar 2013 21:12:13 +0000 (+0100) Subject: control.c: reset the braking variable X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?p=bike-lights.git;a=commitdiff_plain;h=b1796aee655d8b4194f1d9f16c7d8f919cbb549d control.c: reset the braking variable --- diff --git a/firmware/control.c b/firmware/control.c index 007a0c2..0f19390 100644 --- a/firmware/control.c +++ b/firmware/control.c @@ -104,6 +104,7 @@ void init_control() { dim_mode = 0; towbar_mode = 0; + braking = 0; } void brake_on()