summaryrefslogtreecommitdiffstats
path: root/src/nfc
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@digia.com>2013-09-12 10:10:38 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-16 08:33:15 +0200
commite31271a184fe06da8be6cd745a55a6950466d425 (patch)
tree57e9809e95e742fa579f18c58abed7530fd22c51 /src/nfc
parent96e099e05e346286dd085c4ed0f17760748395d8 (diff)
Fix qdoc warnings
Change-Id: I5efbf42be944ee3dd0ba245b6ecaf752216d2b90 Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
Diffstat (limited to 'src/nfc')
-rw-r--r--src/nfc/qnearfieldtarget.cpp12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/nfc/qnearfieldtarget.cpp b/src/nfc/qnearfieldtarget.cpp
index c559c523..36d1e8c7 100644
--- a/src/nfc/qnearfieldtarget.cpp
+++ b/src/nfc/qnearfieldtarget.cpp
@@ -129,13 +129,6 @@ QT_BEGIN_NAMESPACE
\value NdefWriteError Failed to write NDEF messages to the target.
*/
-/*!
- \fn quint16 qNfcChecksum(const char *data, uint len)
-
- \relates QNearFieldTarget
-
- Returns the NFC checksum of the first \a len bytes of \a data.
-*/
// Copied from qbytearray.cpp
// Modified to initialize the crc with 0x6363 instead of 0xffff and to not invert the final result.
static const quint16 crc_tbl[16] = {
@@ -145,6 +138,11 @@ static const quint16 crc_tbl[16] = {
0xc60c, 0xd68d, 0xe70e, 0xf78f
};
+/*!
+ \relates QNearFieldTarget
+
+ Returns the NFC checksum of the first \a len bytes of \a data.
+*/
quint16 qNfcChecksum(const char *data, uint len)
{
register quint16 crc = 0x6363;