]> www.fi.muni.cz Git - bike-lights.git/commitdiff
adc: measure gain stage offset _slowly_
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Fri, 30 Nov 2012 01:12:05 +0000 (02:12 +0100)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Fri, 30 Nov 2012 01:12:05 +0000 (02:12 +0100)
use running sum of 1<<6 measurements, and do only one measurement
per loop in order to not disturb other measurements. Also, do not log
timer overruns for ADC, as we do most of the processing in ADC IRQs now.


No differences found