diff options
author | Thibaut Cuvelier <cuvelier.thibaut@gmail.com> | 2019-03-18 02:27:56 +0100 |
---|---|---|
committer | Thibaut Cuvelier <cuvelier.thibaut@gmail.com> | 2019-03-20 19:55:15 +0000 |
commit | 4f5301171b19c74f6e7284c978a2f13f4ffa7a19 (patch) | |
tree | 8a525a36ffdd387d0f0943dec2eb1e9583ac09a6 | |
parent | 82232b93711a0a747a82d1378f23a4c5db80746d (diff) |
Correct typos in qmodbuspdu.cpp's doc
Change-Id: I8bbb3baaa568c1331d8945df158d062d68d2eed4
Reviewed-by: André Hartmann <aha_1980@gmx.de>
-rw-r--r-- | src/serialbus/qmodbuspdu.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/serialbus/qmodbuspdu.cpp b/src/serialbus/qmodbuspdu.cpp index 57398b9..c42352d 100644 --- a/src/serialbus/qmodbuspdu.cpp +++ b/src/serialbus/qmodbuspdu.cpp @@ -320,7 +320,7 @@ static QDataStream &pduFromStream(QDataStream &stream, QModbusPdu &pdu, Type typ \note Usage is limited \c quint8 and \c quint16 only. This is because \c QDataStream stream operators will not only append raw data, but also - e.g. size, count etc. for complex types. + e.g. size, count, etc. for complex types. */ /*! @@ -412,7 +412,7 @@ static QDataStream &pduFromStream(QDataStream &stream, QModbusPdu &pdu, Type typ \note Usage is limited \c quint8 and \c quint16 only. This is because \c QDataStream stream operators will not only append raw data, but also - e.g. size, count etc. for complex types. + e.g. size, count, etc. for complex types. */ /*! @@ -428,7 +428,7 @@ static QDataStream &pduFromStream(QDataStream &stream, QModbusPdu &pdu, Type typ \note Usage is limited \c quint8 and \c quint16 only. This is because \c QDataStream stream operators will not only append raw data, but also - e.g. size, count etc. for complex types. + e.g. size, count, etc. for complex types. */ /*! @@ -481,7 +481,7 @@ QDataStream &operator<<(QDataStream &stream, const QModbusPdu &pdu) \note When using the constructor taking the \c QByteArray, please make sure to convert the containing data to big-endian byte order before creating the request. - The same request can be created like this, if the values are know at compile time: + The same request can be created like this, if the values are known at compile time: \code quint16 startAddress = 19, numberOfCoils = 10; quint8 payloadInBytes = 2, outputHigh = 0xcd, outputLow = 0x01; @@ -517,7 +517,7 @@ QDataStream &operator<<(QDataStream &stream, const QModbusPdu &pdu) \note Usage is limited \c quint8 and \c quint16 only. This is because \c QDataStream stream operators will not only append raw data, but also - e.g. size, count etc. for complex types. + e.g. size, count, etc. for complex types. */ /*! @@ -638,7 +638,7 @@ QDataStream &operator>>(QDataStream &stream, QModbusRequest &pdu) \note When using the constructor taking the \c QByteArray, please make sure to convert the containing data to big-endian byte order before creating the request. - The same response can be created like this, if the values are know at compile time: + The same response can be created like this, if the values are known at compile time: \code quint8 payloadInBytes = 2, outputHigh = 0xcd, outputLow = 0x01; QModbusResponse response(QModbusResponse::ReadCoils, payloadInBytes, outputHigh, outputLow); @@ -673,7 +673,7 @@ QDataStream &operator>>(QDataStream &stream, QModbusRequest &pdu) \note Usage is limited \c quint8 and \c quint16 only. This is because \c QDataStream stream operators will not only append raw data, but also - e.g. size, count etc. for complex types. + e.g. size, count, etc. for complex types. */ /*! |