Skip to content

Commit

Permalink
Fix bug in previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter-Simpson committed May 12, 2023
1 parent 7c38337 commit 8f20a20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ConformU/Conform/Devices/FocuserTester.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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.");

Expand Down

0 comments on commit 8f20a20

Please sign in to comment.