Skip to content

Commit

Permalink
Queue a connect timer with autoconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
FreddieAkeroyd committed Jan 29, 2025
1 parent 371bf6c commit 4d5c88a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions asyn/asynDriver/asynManager.c
Original file line number Diff line number Diff line change
Expand Up @@ -2174,6 +2174,9 @@ static asynStatus autoConnectAsyn(asynUser *pasynUser,int yesNo)
return asynError;
}
pdpCommon->autoConnect = (yesNo ? 1 : 0);
if(!pdpCommon->connected && pdpCommon->autoConnect) {
epicsTimerStartDelay(pport->connectTimer,.01);
}
exceptionOccurred(pasynUser,asynExceptionAutoConnect);
return asynSuccess;
}
Expand Down

0 comments on commit 4d5c88a

Please sign in to comment.