some cleanup for the read_adc conversion