From fff639ddd5807f6d279d5cc1ead69da47c4eca63 Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Fri, 5 Jul 2024 18:52:28 -0500 Subject: [PATCH] Remove unsigned less than zero check which always returns false in ElgatoLightStripController.cpp --- .../ElgatoLightStripController.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Controllers/ElgatoLightStripController/ElgatoLightStripController.cpp b/Controllers/ElgatoLightStripController/ElgatoLightStripController.cpp index 561ab243..f7d315d7 100644 --- a/Controllers/ElgatoLightStripController/ElgatoLightStripController.cpp +++ b/Controllers/ElgatoLightStripController/ElgatoLightStripController.cpp @@ -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;