ADC resolution changes ADC result range.
Fix problem with setting the ADC bars maximum.