summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--proto-simconnect/ftnoir_protocol_sc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto-simconnect/ftnoir_protocol_sc.cpp b/proto-simconnect/ftnoir_protocol_sc.cpp
index 226a427b..6fb6b949 100644
--- a/proto-simconnect/ftnoir_protocol_sc.cpp
+++ b/proto-simconnect/ftnoir_protocol_sc.cpp
@@ -53,7 +53,7 @@ void simconnect::run()
{
constexpr int max_idle_seconds = 2;
- if (WaitForSingleObject(event, 0) == WAIT_OBJECT_0)
+ if (WaitForSingleObject(event, 1) == WAIT_OBJECT_0)
tm.start();
if ((int)tm.elapsed_seconds() > max_idle_seconds)