]> www.fi.muni.cz Git - bike-lights.git/commit
adc: always-running ADC
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Fri, 30 Nov 2012 10:23:27 +0000 (11:23 +0100)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Fri, 30 Nov 2012 10:23:27 +0000 (11:23 +0100)
commit210916486d18b3dc976c65c7b01b44bca446d856
tree17283e9fe7940be1c6af41bbf25b257a6b76d201
parent5160421f0d1725356e74a24b334e68eaaa9b398c
adc: always-running ADC

Don't rely on the timer IRQ to start next round of ADC measurements,
start it immediately after the previous one finishes.
firmware/adc.c
firmware/lights.h
firmware/tmr.c