From 8f20a2059a842dea79a0cdba805905493595da5c Mon Sep 17 00:00:00 2001 From: Peter Simpson <38855929+Peter-Simpson@users.noreply.github.com> Date: Fri, 12 May 2023 10:41:07 +0100 Subject: [PATCH] Fix bug in previous commit. --- ConformU/Conform/Devices/FocuserTester.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ConformU/Conform/Devices/FocuserTester.cs b/ConformU/Conform/Devices/FocuserTester.cs index 9fd826a..424f226 100644 --- a/ConformU/Conform/Devices/FocuserTester.cs +++ b/ConformU/Conform/Devices/FocuserTester.cs @@ -777,7 +777,7 @@ public void MoveFocuserToPosition(string testName, int newPosition) TimeSpan duration = DateTime.Now.Subtract(startTime); // Test whether the Move will be treated as synchronous or asynchronous - if (duration.TotalMilliseconds <= MOVE_SYNC_TEST_TIME) // The Move command duration was more than the configured time, so assume a synchronous call + if (duration.TotalMilliseconds > MOVE_SYNC_TEST_TIME) // The Move command duration was more than the configured time, so assume a synchronous call { LogDebug(testName, $"Synchronous call behaviour - the call returned in {duration.TotalSeconds} seconds.");