Skip to content

Commit

Permalink
Initialize status in getMaxParams
Browse files Browse the repository at this point in the history
  • Loading branch information
kmpeters committed Nov 22, 2021
1 parent 187f609 commit d442ffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acsMotionApp/src/SPiiPlusDriver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d442ffa

Please sign in to comment.