Home
last modified time | relevance | path

Searched refs:code_sum (Results 1 – 1 of 1) sorted by relevance

/hal_espressif-latest/components/hal/
Dadc_hal_common.c164 uint32_t code_sum = 0; in adc_hal_self_calibration() local
191 code_sum += chk_code; in adc_hal_self_calibration()
202 uint32_t ret = ((code_sum - chk_code) % (ADC_HAL_CAL_TIMES - 2) < 4) in adc_hal_self_calibration()
203 ? (code_sum - chk_code) / (ADC_HAL_CAL_TIMES - 2) in adc_hal_self_calibration()
204 : (code_sum - chk_code) / (ADC_HAL_CAL_TIMES - 2) + 1; in adc_hal_self_calibration()