Index: sources/canbus/messagedispatcher.cpp =================================================================== diff -u -rbf645acccabb7b5a84801620c4f7fa0b0e6878e0 -red5d989264015440d9da6d0830679394a323cf55 --- sources/canbus/messagedispatcher.cpp (.../messagedispatcher.cpp) (revision bf645acccabb7b5a84801620c4f7fa0b0e6878e0) +++ sources/canbus/messagedispatcher.cpp (.../messagedispatcher.cpp) (revision ed5d989264015440d9da6d0830679394a323cf55) @@ -196,7 +196,7 @@ void MessageDispatcher::onFailedTransmit(Sequence vSequence) { - // coco begin validated: Is a placeholder and has not beed implemented yet + // coco begin validated: Is a placeholder and has not been implemented yet emit didFailedTransmit(vSequence); } // coco end @@ -231,7 +231,7 @@ /*! * \brief MessageDispatcher::onAdjustment * \details This method transmits the treatment duration Adjustment Denali message. - * \param vData - Data model contains treatment duration adjustment value in minuts + * \param vData - Data model contains treatment duration adjustment value in minutes * \return void */ void MessageDispatcher::onAdjustment(const AdjustDurationRequestData &vData) @@ -319,10 +319,10 @@ #endif } - // coco begin validated: Has been tested manyally but in this function this can't be false because the message interpreter is doing the same validation. + // coco begin validated: Has been tested manually but in this function this can't be false because the message interpreter is doing the same validation. // still checking here in case the logic has changed therefore buildFrame should still validate the message for developer safety. if ( ! _builder.buildFrames(vActionId, mData, frameList, mSequence) ) { - LOG_DEBUG(QString("Incorrect Message can't be built")); // TODO : LOGGINF IMPROVEMENT + LOG_DEBUG(QString("Incorrect Message can't be built")); // TODO : LOGGINFO IMPROVEMENT return; } // coco end @@ -360,7 +360,7 @@ bool MessageDispatcher::buildMessage(Can_Id vCan_Id, const QByteArray &vPayload) { if (vPayload.length() < eLenCanFrame) { - // Each frame has to have exactly 8 (eLenCanFrame) bytes of data and not used bytes should be passed as 00. + // Each frame has to have exactly 8 (eLenCanFrame) bytes of data and unused bytes should be passed as 00. LOG_DEBUG(QString("Incorrect frame length. Exp:%1,got:%2").arg(eLenCanFrame).arg(vPayload.length())); return false; }