mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-20 07:35:03 -04:00
Remove unsigned less than zero check which always returns false in ElgatoLightStripController.cpp
This commit is contained in:
1 parent
3ed0bb6918
commit
fff639ddd5
1 file changed
-5
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user