/* Set update rate of the channel value registers. It is recommended that this rate be at most 80 times lower than the output data rate of the ADC. */
int32_t cn0414_channel_set_update_rate(struct cn0414_dev *dev, uint8_t *arg)
/* Set update rate of the channel value registers. It is recommended that this rate be at most 80 times lower than the output data rate of the ADC. */
int32_t cn0414_channel_set_update_rate(struct cn0414_dev *dev, uint8_t *arg)
{
	float new_rate;
	low_sample_rate_flag = 0;
	new_rate = atof((char *)arg);
	cn0414_channel_sur_check(dev, &new_rate);
	return adc_update_set_rate(dev->adc_update_desc, new_rate);
}