diff --git a/src/turboPmacAxis.cpp b/src/turboPmacAxis.cpp index c452688..9d7ebef 100644 --- a/src/turboPmacAxis.cpp +++ b/src/turboPmacAxis.cpp @@ -1284,10 +1284,7 @@ asynStatus turboPmacAxis::enable(bool on) { asynStatus pl_status = asynSuccess; bool moving = false; - rw_status = doPoll(&moving); - if (rw_status != asynSuccess) { - return rw_status; - } + doPoll(&moving); // =========================================================================