Also allow UEIP=Yes when Diagnostic Feedback is used.

This commit is contained in:
kpetersn
2018-03-28 10:43:29 -05:00
parent 9e0b87ee74
commit c6a2b4ee0b
+1 -1
View File
@@ -384,7 +384,7 @@ ANF2Axis::ANF2Axis(ANF2Controller *pC, int axisNo, epicsInt32 config, epicsInt32
CCWInputAS_ = (config & 0x10) >> 4;
// Only allow UEIP to be used if the axis is configured to have a quadrature encoder
if (QuadEnc_ != 0x0) {
if ((QuadEnc_ != 0x0) || (DiagFbk_ != 0x0)) {
setIntegerParam(pC_->motorStatusHasEncoder_, 1);
} else {
setIntegerParam(pC_->motorStatusHasEncoder_, 0);