Allow enabling / disabling the motor regardless of the status returned by the poll

This commit is contained in:
2025-05-13 15:12:43 +02:00
parent d365db529b
commit ef9133d66a

View File

@ -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);
// =========================================================================