Index: sources/utility/crc.cpp =================================================================== diff -u -r44a85c96ab55e424866ec4cca0270aa218355f82 -rbb74da05f81b82dad3ec844c1feb1135b949f1c2 --- sources/utility/crc.cpp (.../crc.cpp) (revision 44a85c96ab55e424866ec4cca0270aa218355f82) +++ sources/utility/crc.cpp (.../crc.cpp) (revision bb74da05f81b82dad3ec844c1feb1135b949f1c2) @@ -1,24 +1,25 @@ /*! - * + * * Copyright (c) 2019-2020 Diality Inc. - All Rights Reserved. * \copyright * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. - * + * * \file crc.cpp * \author (last) Behrouz NematiPour * \date (last) 16-Dec-2019 * \author (original) Behrouz NematiPour * \date (original) 16-Dec-2019 - * + * */ #include "crc.h" -/*! The CRC table - * This code has been borrowed from Firmware repository - * This should be exactly the same replica of that copy. - * PLEASE DO UPDATE ON ANY MODIFICATION IN FIRMWARE OF SOFTWARE +/*! + * \brief The CRC table + * \details This code has been borrowed from Firmware repository + * This should be exactly the same replica of that copy. + * PLEASE DO UPDATE ON ANY MODIFICATION IN FIRMWARE */ const unsigned char crc8_table[] = { 0, 49, 98, 83, 196, 245, 166, 151, 185, 136, 219, 234, 125, 76, 31, 46, @@ -40,11 +41,11 @@ }; /*! - * \brief crc8 - * \param vData the data which to be used for crc8 generation - * \return a byte contains the generated crc8. - * \note this algorithm borrowed from Firmware repository - * some changed has been made to be able to work with Qt libraries. + * \brief crc8 + * \param vData the data which to be used for crc8 generation + * \return a byte contains the generated crc8. + * \note this algorithm borrowed from Firmware repository + * some modification has been made to be able to work with Qt libraries. */ quint8 crc8(const QByteArray &vData) {