ADC: fix calculation of high voltage input.