diff --git a/acsMotionApp/src/SPiiPlusDriver.cpp b/acsMotionApp/src/SPiiPlusDriver.cpp index 179dc58..0c80e21 100644 --- a/acsMotionApp/src/SPiiPlusDriver.cpp +++ b/acsMotionApp/src/SPiiPlusDriver.cpp @@ -932,7 +932,7 @@ asynStatus SPiiPlusAxis::poll(bool* moving) asynStatus SPiiPlusAxis::getMaxParams() { SPiiPlusController* controller = (SPiiPlusController*) pC_; - asynStatus status; + asynStatus status = asynSuccess; double motorRecResolution; double maxVelocity, maxAcceleration; std::stringstream cmd;