调试上传用

This commit is contained in:
2022-01-04 17:32:19 +08:00
parent a811677952
commit 23451f69b0
40 changed files with 590 additions and 32 deletions

View File

@ -118,7 +118,7 @@ int CZZ_SeiralPort_QT::Write(const std::string strSend)
{
QByteArray qbaTest(strSend.c_str(),(int)strSend.length());
qint64 qi64Write = m_pSerialPort->write(qbaTest);
m_pSerialPort->waitForBytesWritten();
m_pSerialPort->waitForBytesWritten(5000);
if (qi64Write != qbaTest.size())
{
qDebug() << "Err:write Failed.Exit Code:1" << qi64Write;