mirror of
https://github.com/Binary-Coalescence/motorDSM.git
synced 2025-08-04 21:55:40 -05:00
Added limit switch triggering back in for end of travel error.
This commit is contained in:
@@ -415,13 +415,11 @@ asynStatus MD90Axis::poll(bool *moving)
|
||||
case 10: // End of travel error
|
||||
setIntegerParam(pC_->motorStatusProblem_, 1);
|
||||
asynPrint(pasynUser_, ASYN_TRACE_ERROR, "%s: End of travel error\n", functionName);
|
||||
/*
|
||||
if (position > 0) {
|
||||
setIntegerParam(pC_->motorStatusHighLimit_, 1);
|
||||
} else {
|
||||
setIntegerParam(pC_->motorStatusLowLimit_, 1);
|
||||
}
|
||||
*/
|
||||
break;
|
||||
case 11: // Ramp move error
|
||||
setIntegerParam(pC_->motorStatusProblem_, 1);
|
||||
|
Reference in New Issue
Block a user