]> www.fi.muni.cz Git - bike-lights.git/commit
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)
commitb2a7818a12aab1915c19ae65af12b2f16c2f4da6
tree94c06f996abe60ca8bac3c5a2fee1e8a841cd0e9
parent220d48069967aaae91c303f84b98f2bb36a51425
buttons.c: faster brake sensor reaction time

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).
firmware/buttons.c