diff --git a/motorApp/MotorSrc/asynMotorController.cpp b/motorApp/MotorSrc/asynMotorController.cpp index 515ab3b2..82608fca 100644 --- a/motorApp/MotorSrc/asynMotorController.cpp +++ b/motorApp/MotorSrc/asynMotorController.cpp @@ -116,6 +116,7 @@ asynMotorController::asynMotorController(const char *portName, int numAxes, int maxProfilePoints_ = 0; profileTimes_ = NULL; + setIntegerParam(profileExecuteState_, PROFILE_EXECUTE_DONE); asynPrint(this->pasynUserSelf, ASYN_TRACE_FLOW, "%s:%s: constructor complete\n",