forked from epics_driver_modules/motorBase
ee9fca1dc3b52d0599b7ff34afb53dcf032f5b16
- It was using the value of mr->[link]->value.constantStr and mr->[link]->value.pv_link.pvname without checking the link types. This was incorrect, and led to errors because constantStr no longer has a defined value if the link type is not CONSTANT. Changed so that it only accesses these union fields if the link is the correct type. - It did not check if pv_link.pvname was NULL before calling CA functions, though now that we check the link type perhaps this cannot occur. - It did not lock the motor record before accessing the fields. - Added Debug calls to show the link types and values.
motor
APS BCDA synApps module: motor
Note: Current discussion on future of the motor module repository: https://github.com/epics-modules/motor/issues/55
For more information, see:
Report an issue with Motor
Request a feature
converted from APS SVN repository: Fri Oct 16 12:31:41 CDT 2015
Description
This is motor record version 7. The older (incompatible) motor record version 6 is here: https://git.psi.ch/epics_driver_modules/motor.
The "upstream" branch is a fork of https://github.com/epics-modules/motor. Do not modify that one.
All used submodules have their own repo. Don't modify them here.
Languages
C++
62.3%
C
34.6%
Makefile
1.7%
Python
1.3%
Shell
0.1%
