RF: simplify the calculation of the ADC.