Explorar el Código

flip argument range for kelvin

Chris Mullins hace 8 años
padre
commit
abf8f27daf
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lib/Udp/V6RgbCctCommandHandler.cpp

+ 1 - 1
lib/Udp/V6RgbCctCommandHandler.cpp

@@ -28,7 +28,7 @@ bool V6RgbCctCommandHandler::handleCommand(
       break;
       
     case V2_KELVIN:
-      client->updateTemperature(arg);
+      client->updateTemperature(100 - arg);
       break;
       
     case V2_BRIGHTNESS: