Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/drivers/sensor/ams/tsl2561/
Dtsl2561.c197 uint32_t ratio1 = 0; in tsl2561_channel_get() local
200 ratio1 = (channel1 << (TSL2561_RATIO_SCALE + 1)) / channel0; in tsl2561_channel_get()
204 uint32_t ratio = (ratio1 + 1) >> 1; in tsl2561_channel_get()