]> www.fi.muni.cz Git - bike-lights.git/commitdiff
buttons.c: faster brake sensor reaction time
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Fri, 19 Jul 2013 16:28:20 +0000 (18:28 +0200)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Fri, 19 Jul 2013 16:28:20 +0000 (18:28 +0200)
If the ADC reads as "brake on" for two jiffies (1/8 of second),
consider it being on. Previously the interval was too long (1/4 s).


No differences found