新增 dll 通过串口获取 EF3固件版本号
This commit is contained in:
@@ -175,6 +175,7 @@ DWORD CPSerial::Open()
|
||||
// Setup the port according to the stored parameters
|
||||
if (ProgramPort(m_Port, m_Baud, m_Parity, m_Bits, m_StopBits, m_HandShake))
|
||||
{
|
||||
TRACE(_T("CmmIO> Port OPEN %s\n", m_Port), Ok);
|
||||
// Setup the timeouts
|
||||
CommTimeOut.ReadIntervalTimeout = 25;
|
||||
CommTimeOut.ReadTotalTimeoutMultiplier = 1;
|
||||
|
||||
Reference in New Issue
Block a user