Searched refs:gain_to_atten (Results 1 – 1 of 1) sorted by relevance
77 static inline int gain_to_atten(enum adc_gain gain, adc_atten_t *atten) in gain_to_atten() function276 if (gain_to_atten(cfg->gain, &data->attenuation[cfg->channel_id])) { in adc_esp32_channel_setup()