Remove unsigned less than zero check which always returns false in ElgatoLightStripController.cpp
This commit is contained in:
parent
3ed0bb6918
commit
fff639ddd5
1 changed files with 0 additions and 5 deletions
|
|
@ -99,11 +99,6 @@ std::string ElgatoLightStripController::GetUniqueID()
|
|||
|
||||
void ElgatoLightStripController::SetColor(hsv_t hsv_color)
|
||||
{
|
||||
if(hsv_color.hue < 0)
|
||||
{
|
||||
hsv_color.hue = 0;
|
||||
}
|
||||
|
||||
if(hsv_color.hue > 360)
|
||||
{
|
||||
hsv_color.hue = 360;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue