Use helper function for map_voltage