TelescopeClientDirectNexStar.cpp   TelescopeClientDirectNexStar.cpp 
skipping to change at line 77 skipping to change at line 77
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_WIN #ifdef Q_OS_WIN
if(serialDeviceName.right(serialDeviceName.size() - 3).toInt() > 9) if(serialDeviceName.right(serialDeviceName.size() - 3).toInt() > 9)
serialDeviceName = "\\\\.\\" + serialDeviceName;//"\\.\COMxx serialDeviceName = "\\\\.\\" + serialDeviceName; // "\\.\COM
", not sure if it will work xx", not sure if it will work
else
serialDeviceName = serialDeviceName;
#endif //Q_OS_WIN #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;
} }
 End of changes. 1 change blocks. 
4 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/