Searched refs:nextGoodSpad (Results 1 – 1 of 1) sorted by relevance
569 int32_t nextGoodSpad = offset; in enable_ref_spads() local586 &nextGoodSpad); in enable_ref_spads()588 if (nextGoodSpad == -1) { in enable_ref_spads()594 if (is_aperture(start + nextGoodSpad) != apertureSpads) { in enable_ref_spads()601 currentSpad = (uint32_t)nextGoodSpad; in enable_ref_spads()687 int32_t nextGoodSpad = 0; in VL53L0X_perform_ref_spad_management() local856 &nextGoodSpad); in VL53L0X_perform_ref_spad_management()858 if (nextGoodSpad == -1) { in VL53L0X_perform_ref_spad_management()866 if (is_aperture((uint32_t)startSelect + nextGoodSpad) != in VL53L0X_perform_ref_spad_management()877 currentSpadIndex = nextGoodSpad; in VL53L0X_perform_ref_spad_management()