Update JsonClientConnection.cpp

Former-commit-id: 5014c392b3c7629b6f02ead321621f7edc560680
This commit is contained in:
AEtHeLsYn 2016-03-21 17:42:13 +01:00
parent 7da3e83597
commit 3c2682b626

View File

@ -601,6 +601,7 @@ void JsonClientConnection::handleCorrectionCommand(const Json::Value &message)
colorCorrection->_rgbCorrection.setcorrectionR(values[0u].asInt());
colorCorrection->_rgbCorrection.setcorrectionG(values[1u].asInt());
colorCorrection->_rgbCorrection.setcorrectionB(values[2u].asInt());
}
// commit the changes
_hyperion->correctionsUpdated();
@ -626,6 +627,7 @@ void JsonClientConnection::handleTemperatureCommand(const Json::Value &message)
colorTemperature->_rgbCorrection.setcorrectionR(values[0u].asInt());
colorTemperature->_rgbCorrection.setcorrectionG(values[1u].asInt());
colorTemperature->_rgbCorrection.setcorrectionB(values[2u].asInt());
}
// commit the changes
_hyperion->temperaturesUpdated();