Fix for OpMode_

This commit is contained in:
kpetersn
2018-03-27 14:25:21 -05:00
parent a877f4c188
commit 9c90d24fb8
+1 -1
View File
@@ -362,7 +362,7 @@ ANF2Axis::ANF2Axis(ANF2Controller *pC, int axisNo, epicsInt32 config)
OutPulse_ = (config & (0x400 << 16)) >> 26;
HomeOp_ = (config & (0x800 << 16)) >> 27;
CardAxis_ = (config & (0x4000 << 16)) >> 30;
OpMode_ = (config & (0x8000 << 16)) >> 31;
OpMode_ = (epicsUInt32)(config & (0x8000 << 16)) >> 31;
// LSW
CaptInputAS_ = config & 0x1;
ExtInputAS_ = (config & 0x2) >> 1;