Remove unsigned less than zero check which always returns false in ElgatoLightStripController.cpp

This commit is contained in:
Adam Honse 2024-07-05 18:52:28 -05:00
parent 3ed0bb6918
commit fff639ddd5

View file

@ -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;