TelescopeClientDirectNexStar.cpp   TelescopeClientDirectNexStar.cpp 
skipping to change at line 75 skipping to change at line 75
//Validation: Time delay //Validation: Time delay
if (time_delay <= 0 || time_delay > 10000000) if (time_delay <= 0 || time_delay > 10000000)
{ {
qWarning() << "ERROR creating TelescopeClientDirectNexStar: time_delay not valid (should be less than 10000000)"; qWarning() << "ERROR creating TelescopeClientDirectNexStar: time_delay not valid (should be less than 10000000)";
return; return;
} }
//end_of_timeout = -0x8000000000000000LL; //end_of_timeout = -0x8000000000000000LL;
#ifdef Q_OS_WIN32 #ifdef Q_OS_WIN
if(serialDeviceName.right(serialDeviceName.size() - 3).toInt() > 9) if(serialDeviceName.right(serialDeviceName.size() - 3).toInt() > 9)
serialDeviceName = "\\\\.\\" + serialDeviceName;//"\\.\COMxx ", not sure if it will work serialDeviceName = "\\\\.\\" + serialDeviceName;//"\\.\COMxx ", not sure if it will work
else else
serialDeviceName = serialDeviceName; serialDeviceName = serialDeviceName;
#endif //Q_OS_WIN32 #endif //Q_OS_WIN
//Try to establish a connection to the telescope //Try to establish a connection to the telescope
nexstar = new NexStarConnection(*this, qPrintable(serialDeviceName)) ; nexstar = new NexStarConnection(*this, qPrintable(serialDeviceName)) ;
if (nexstar->isClosed()) if (nexstar->isClosed())
{ {
qWarning() << "ERROR creating TelescopeClientDirectNexStar: cannot open serial device" << serialDeviceName; qWarning() << "ERROR creating TelescopeClientDirectNexStar: cannot open serial device" << serialDeviceName;
return; return;
} }
//This connection will be deleted in the destructor of Server //This connection will be deleted in the destructor of Server
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/