mirror of
https://github.com/Binary-Coalescence/motorDSM.git
synced 2025-08-04 21:55:40 -05:00
Moved line back to fix status update problem.
This commit is contained in:
@@ -299,7 +299,6 @@ asynStatus MD90Axis::poll(bool *moving)
|
||||
sscanf (pC_->inString_, "%d: %[^:]: %d", &replyStatus, replyString, &replyValue);
|
||||
driveOn = (replyValue == '1') ? 1:0;
|
||||
setIntegerParam(pC_->motorStatusPowerOn_, driveOn);
|
||||
setIntegerParam(pC_->motorStatusProblem_, 0);
|
||||
|
||||
// Read the home status
|
||||
sprintf(pC_->outString_, "GHS");
|
||||
@@ -375,6 +374,8 @@ asynStatus MD90Axis::poll(bool *moving)
|
||||
sscanf (pC_->inString_, "%d: %[^:]: %d", &replyStatus, replyString, &replyValue);
|
||||
setDoubleParam(pC_->motorIGain_, replyValue);
|
||||
|
||||
setIntegerParam(pC_->motorStatusProblem_, 0);
|
||||
|
||||
skip:
|
||||
setIntegerParam(pC_->motorStatusProblem_, comStatus ? 1:0);
|
||||
callParamCallbacks();
|
||||
|
Reference in New Issue
Block a user