Skip to content

Commit

Permalink
Fixed an error regarding model id handling.
Browse files Browse the repository at this point in the history
  • Loading branch information
ntim committed Mar 30, 2017
1 parent 183febb commit 8a362e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libsrc/leddevice/LedDevicePhilipsHue.cpp
Expand Up @@ -193,7 +193,7 @@ PhilipsHueLight::PhilipsHueLight(PhilipsHueBridge& bridge, unsigned int id) :
colorSpace.red = {0.675f, 0.322f};
colorSpace.green = {0.4091f, 0.518f};
colorSpace.blue = {0.167f, 0.04f};
} else if (GAMUT_C_MODEL_IDS.find(modelId) != GAMUT_B_MODEL_IDS.end()) {
} else if (GAMUT_C_MODEL_IDS.find(modelId) != GAMUT_C_MODEL_IDS.end()) {
colorSpace.red = {0.675f, 0.322f};
colorSpace.green = {0.2151f, 0.7106f};
colorSpace.blue = {0.167f, 0.04f};
Expand Down

0 comments on commit 8a362e5

Please sign in to comment.