fixed ADC initialization with skipped channels  - spotted by Lux.
Also increased ADC sample time to 239.5 cycles (~10uS at 24MHz ADC clock).
current sensor support added

also optimized the vbat code a bit