forked from epics-modules/motor
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
motorRecord: Correct MF_NO_TWEAK_ONLS for MRES < 0.0 or DIR != Pos
There was some mess-up between the user- dial- and raw coordinate systems when dieal with the "no further movement when on limit switch" feature, which is enabled by setting MF_NO_TWEAK_ONLS. Rename some variables to make clear what they mean, and then fix the logic where needed. Introcduce a helper variable "abort_move" in doDVALchangedOrNOTdoneMoving(), this may be used later to prevent e.g. retries from being commanded when the motor driver reports a problem/error. But that is another commit.
- Loading branch information
Showing
1 changed file
with
68 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters