forked from epics_driver_modules/motorBase
fix limit direction detection for old firmware releases (< V1.21)
This commit is contained in:
@@ -732,7 +732,7 @@ void omsBaseController::omsPoller()
|
||||
pAxis->setIntegerParam(motorStatusDone_, 1);
|
||||
pAxis->setIntegerParam(motorStatusMoving_, 0);
|
||||
if (pAxis->homing) pAxis->homing = 0;
|
||||
if (statusBuffer[i*STATUSSTRINGLEN + 2] == 'P')
|
||||
if (statusBuffer[i*STATUSSTRINGLEN] == 'P')
|
||||
pAxis->setIntegerParam(motorStatusHighLimit_, 1);
|
||||
else
|
||||
pAxis->setIntegerParam(motorStatusLowLimit_, 1);
|
||||
|
||||
Reference in New Issue
Block a user