diff --git a/lib/light.js b/lib/light.js index 7d42b960d..ac343139b 100644 --- a/lib/light.js +++ b/lib/light.js @@ -327,8 +327,8 @@ var Controllers = { // Page 27 // CalculateLux(...) - ch0 = (ch0 * scale) >> 0x10; - ch1 = (ch1 * scale) >> 0x10; + ch0 = (ch0 * scale) >> 10; + ch1 = (ch1 * scale) >> 10; var ratio1 = 0;