Searched refs:ratio1 (Results 1 – 1 of 1) sorted by relevance
197 uint32_t ratio1 = 0; in tsl2561_channel_get() local200 ratio1 = (channel1 << (TSL2561_RATIO_SCALE + 1)) / channel0; in tsl2561_channel_get()204 uint32_t ratio = (ratio1 + 1) >> 1; in tsl2561_channel_get()