Searched refs:closest_mv (Results 1 – 1 of 1) sorted by relevance
73 int32_t sample_mv, closest_mv = 0; in adc_keys_process() local89 closest_mv = cfg->code_cfg[i].press_mv; in adc_keys_process()96 closest_mv = cfg->keyup_mv; 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()116 if (closest_mv == code_cfg->press_mv) { in adc_keys_process()