From c6a2b4ee0b512c43e7e7ae89ccd025e46d518e6c Mon Sep 17 00:00:00 2001 From: kpetersn Date: Wed, 28 Mar 2018 10:43:29 -0500 Subject: [PATCH] Also allow UEIP=Yes when Diagnostic Feedback is used. --- motorApp/AMCISrc/ANF2Driver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/motorApp/AMCISrc/ANF2Driver.cpp b/motorApp/AMCISrc/ANF2Driver.cpp index 908b9c3e..9332b723 100644 --- a/motorApp/AMCISrc/ANF2Driver.cpp +++ b/motorApp/AMCISrc/ANF2Driver.cpp @@ -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);