TelescopeClientDirectLx200.cpp   TelescopeClientDirectLx200.cpp 
skipping to change at line 77 skipping to change at line 77
//Validation: Time delay //Validation: Time delay
if (time_delay <= 0 || time_delay > 10000000) if (time_delay <= 0 || time_delay > 10000000)
{ {
qWarning() << "ERROR creating TelescopeClientDirectLx200: ti me_delay not valid (should be less than 10000000)"; qWarning() << "ERROR creating TelescopeClientDirectLx200: ti me_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
#endif //Q_OS_WIN32 #endif //Q_OS_WIN
//Try to establish a connection to the telescope //Try to establish a connection to the telescope
lx200 = new Lx200Connection(*this, qPrintable(serialDeviceName)); lx200 = new Lx200Connection(*this, qPrintable(serialDeviceName));
if (lx200->isClosed()) if (lx200->isClosed())
{ {
qWarning() << "ERROR creating TelescopeClientDirectLx200: ca nnot open serial device" << serialDeviceName; qWarning() << "ERROR creating TelescopeClientDirectLx200: ca nnot open serial device" << serialDeviceName;
return; return;
} }
// lx200 will be deleted in the destructor of Server // lx200 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/