Index: sources/canbus/messagebuilder.cpp =================================================================== diff -u -r9392f5be540bb428dc64757ef2e50a4d4e5090a8 -r48379ed048f0ed52263ae3e042fe3cd076895e32 --- sources/canbus/messagebuilder.cpp (.../messagebuilder.cpp) (revision 9392f5be540bb428dc64757ef2e50a4d4e5090a8) +++ sources/canbus/messagebuilder.cpp (.../messagebuilder.cpp) (revision 48379ed048f0ed52263ae3e042fe3cd076895e32) @@ -48,7 +48,7 @@ if ( ! addData (mPayload, vAction, vData) ) { // Regarding Payload Length, Adding required Data return false; } - addCRC (mPayload); // CRC + addCRC (mPayload); // CRC quint16 len = mPayload.length(); if (len > eLenCanFrame) { @@ -61,7 +61,7 @@ vFrameList += mPayload; } - addPadding (vFrameList.last()); // Padded to 8 byte frame + addPadding (vFrameList.last()); // Padded to 8 byte frame return true; } @@ -72,7 +72,7 @@ */ void MessageBuilder::addSyncByte(QByteArray &vPayload) { - vPayload.append(ePayload_Sync); // Sync byte + vPayload.append(ePayload_Sync); // Sync byte } /*! @@ -86,8 +86,8 @@ { if (vAction != GuiActionType::Unknown) { quint16 mAction = static_cast(vAction); - vPayload += (mAction >> 8) & 0xFF;//high byte - vPayload += mAction & 0xFF;// low byte + vPayload += (mAction >> 8) & 0xFF; // high byte + vPayload += mAction & 0xFF; // low byte } else { QString mHexString = Format::toHexString(vAction, false, eLenMessageIDDigits); qDebug() << "ERROR :" << tr("Incorrect Action ID '%1'").arg(mHexString);