Perform poll even if init fails
This commit is contained in:
@@ -329,10 +329,8 @@ asynStatus masterMacsAxis::doPoll(bool *moving) {
|
||||
|
||||
// Does the axis need to be intialized?
|
||||
if (needInit()) {
|
||||
rw_status = init();
|
||||
if (rw_status != asynSuccess) {
|
||||
return rw_status;
|
||||
}
|
||||
// Perform the rest of the poll, but remember if sth. failed in the init.
|
||||
poll_status = init();
|
||||
}
|
||||
|
||||
// Are we currently waiting for a handshake?
|
||||
|
||||
Reference in New Issue
Block a user