Home
last modified time | relevance | path

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

/hardware/bsp/intel/peripheral/libupm/src/tsl2561/
Dtsl2561.cxx136 scale = (1 << LUX_CHSCALE); in getLux()
146 channel0 = (rawLuxCh0 * scale) >> LUX_CHSCALE; in getLux()
147 channel1 = (rawLuxCh1 * scale) >> LUX_CHSCALE; in getLux()
Dtsl2561.h64 #define LUX_CHSCALE (10) // Scale channel values by 2^10 macro