]> www.fi.muni.cz Git - bike-lights.git/commit
adc: fix the button adc number
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Thu, 14 Mar 2013 19:20:48 +0000 (20:20 +0100)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Thu, 14 Mar 2013 19:20:48 +0000 (20:20 +0100)
commit91af506996bba7fdcaeffcf31dcbb2f1e7f46ab2
treeb389c605d957d8390430d0aa23b5f2eb9049e444
parent1f28156058ed3af9e87afdc60d631ca5a47eb2cb
adc: fix the button adc number

... and use symbolic constants in the switch statement to avoid
this kind of bugs in the future.
firmware/adc.c