Fixed max, min and resolution in sensor_t