Searched refs:closest_diff (Results 1 – 1 of 1) sorted by relevance
74 uint32_t diff, closest_diff = UINT32_MAX; in adc_keys_process() local87 if (diff < closest_diff) { in adc_keys_process()88 closest_diff = diff; in adc_keys_process()94 if (diff < closest_diff) { in adc_keys_process()95 closest_diff = diff; in adc_keys_process()99 LOG_DBG("sample=%d mV, closest=%d mV, diff=%d mV", sample_mv, closest_mv, closest_diff); in adc_keys_process()