diff options
author | Denis Shienkov <denis.shienkov@gmail.com> | 2016-01-10 15:31:56 +0300 |
---|---|---|
committer | Denis Shienkov <denis.shienkov@gmail.com> | 2016-01-11 11:06:46 +0000 |
commit | 6dda140ada3d7c683537b069bf1512275a190884 (patch) | |
tree | 18802caba365a102c4abf1c90f4f17fc3e221958 /src/serialport/qserialport_p.h | |
parent | 4ff8b20cf2877298c8437fb892ebda600f46e293 (diff) | |
download | qtserialport-6dda140ada3d7c683537b069bf1512275a190884.tar.gz |
Get rid of QSPP::updateCommTimeouts() method
This method is used only once when initializing of a device.
Thus its code can be moved to an initialization place, and
this method can be removed then.
Change-Id: Ie9a40da1d6a2980829327f66830893ad7179bd57
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Diffstat (limited to 'src/serialport/qserialport_p.h')
-rw-r--r-- | src/serialport/qserialport_p.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/serialport/qserialport_p.h b/src/serialport/qserialport_p.h index 4a214e1..29c1d5a 100644 --- a/src/serialport/qserialport_p.h +++ b/src/serialport/qserialport_p.h @@ -182,7 +182,6 @@ public: bool initialize(DWORD eventMask); bool updateDcb(); - bool updateCommTimeouts(); bool waitForReadOrWrite(bool *selectForRead, bool *selectForWrite, bool checkRead, bool checkWrite, @@ -205,7 +204,6 @@ public: bool initialize(); bool setDcb(DCB *dcb); bool getDcb(DCB *dcb); - bool updateCommTimeouts(); OVERLAPPED *waitForNotified(int msecs); bool completeAsyncCommunication(qint64 bytesTransferred); |