Skip to content

Commit

Permalink
Fixed a bug that prevented the stage from moving when setting the pos…
Browse files Browse the repository at this point in the history
…ition of the stage through a device property.
  • Loading branch information
mclgreg committed Sep 11, 2024
1 parent 8f64d18 commit e3c9952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DeviceAdapters/MCL_MicroDrive/MicroDriveZStage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ int MCL_MicroDrive_ZStage::OnPositionMm(MM::PropertyBase* pProp, MM::ActionType
err = GetPositionMm(z);
if(err != MCL_SUCCESS)
return err;
err = BeginMovementThread(STANDARD_MOVE_TYPE, z);
err = BeginMovementThread(STANDARD_MOVE_TYPE, pos);
if (err != DEVICE_OK)
return err;
}
Expand Down

0 comments on commit e3c9952

Please sign in to comment.