mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-31 21:08:15 -04:00
Don't allow negative initial detection delay
This commit is contained in:
1 parent
eb86697032
commit
31485ce456
2 files changed
+2
-1
No files matched your search
@@ -741,7 +741,7 @@ void DetectionManager::BackgroundDetectDevices()
|
||||
\*-----------------------------------------------------*/
|
||||
if(initial_detection)
|
||||
{
|
||||
if(initial_detection_delay_ms != 0)
|
||||
if(initial_detection_delay_ms > 0)
|
||||
{
|
||||
detection_string = "Waiting for detection delay";
|
||||
SignalUpdate(DETECTIONMANAGER_UPDATE_REASON_DETECTION_PROGRESS_CHANGED);
|
||||
|
||||
Reference in new issue
Block a user