Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/input/
Dinput_adc_keys.c74 uint32_t diff, closest_diff = UINT32_MAX; in adc_keys_process() local
87 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()