forked from epics_driver_modules/motorBase
Removed call to pasynCommonSyncIO->connectDevice, not needed
This commit is contained in:
@@ -89,12 +89,14 @@ int ConnectToServer(char *IpAddress, int IpPort, double timeout)
|
||||
psock->pasynUserCommon = pasynUserCommon;
|
||||
|
||||
/* Connect to controller */
|
||||
/* No need to do this, it will be done automatically and it gives an error if already connected
|
||||
status = pasynCommonSyncIO->connectDevice(pasynUserCommon);
|
||||
if (status != asynSuccess) {
|
||||
printf("ConnectToServer, error calling pasynCommonSyncIO->connectDevice %s\n",
|
||||
pasynUserCommon->errorMessage);
|
||||
return -1;
|
||||
}
|
||||
*/
|
||||
|
||||
psock->timeout = timeout;
|
||||
psock->connected = 1;
|
||||
|
||||
Reference in New Issue
Block a user