diff --git a/devEcmcSup/motor/ecmcMotorRecordAxis.cpp b/devEcmcSup/motor/ecmcMotorRecordAxis.cpp index 60a44ecb..527e9ea2 100644 --- a/devEcmcSup/motor/ecmcMotorRecordAxis.cpp +++ b/devEcmcSup/motor/ecmcMotorRecordAxis.cpp @@ -992,8 +992,11 @@ asynStatus ecmcMotorRecordAxis::poll(bool *moving) if (drvlocal.waitNumPollsBeforeReady) { *moving = true; } + else #endif - +{ + *moving = drvlocal.moveNotReadyNext ? true : false; +} if (drvlocal.moveNotReadyNext){ drvlocal.nCommandActive = drvlocal.statusBinData.onChangeData.command; }