Searched refs:ratio1 (Results 1 – 1 of 1) sorted by relevance
151 unsigned long ratio1 = 0; in getLux() local152 if (channel0 != 0) ratio1 = (channel1 << (LUX_RATIOSCALE+1)) / channel0; in getLux()155 unsigned long ratio = (ratio1 + 1) >> 1; in getLux()