Don't allow negative initial detection delay

This commit is contained in:
Adam Honse committed 2026-10-13 11:10:49 -05:00
1 parent eb86697032
commit 31485ce456
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -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);