Index: sources/canbus/CanInterface.cpp =================================================================== diff -u -r0c983aea7de7480e86739469f5a64ad18b244634 -r79e076cece4ba503be6c3834eb68d1e5cb1b882f --- sources/canbus/CanInterface.cpp (.../CanInterface.cpp) (revision 0c983aea7de7480e86739469f5a64ad18b244634) +++ sources/canbus/CanInterface.cpp (.../CanInterface.cpp) (revision 79e076cece4ba503be6c3834eb68d1e5cb1b882f) @@ -47,7 +47,7 @@ if ( _init ) return false; _init = true; - // coco begin validated: Manually tested since required to disable and enable the CANBus + // disabled coco begin validated: Manually tested since required to disable and enable the CANBus if ( ! initDevice() ) return false; // coco end if ( ! testDevice() ) return false; @@ -73,7 +73,7 @@ */ bool CanInterface::init(QThread &vThread) { - // coco begin validated: Manually tested since required to disable and enable the CANBus + // disabled coco begin validated: Manually tested since required to disable and enable the CANBus if ( ! init() ) return false; // coco end initThread(vThread); @@ -87,7 +87,7 @@ */ void CanInterface::quit() { - // coco begin validated: Application termination is not correctly done in coco!!! + // disabled coco begin validated: Application termination is not correctly done in coco!!! // it has been tested and works perfectly fine in normal run. quitThread(); // verified } @@ -109,7 +109,7 @@ * \param vEnabled - Enable console output if true */ void CanInterface::enableConsoleOut(bool vEnabled) { - // coco begin validated: This code meant to be used only for debugging and tested manually + // disabled coco begin validated: This code meant to be used only for debugging and tested manually if (_enableConsoleOut == vEnabled) return; _enableConsoleOut = vEnabled; if (_enableConsoleOut) { @@ -127,7 +127,7 @@ */ void CanInterface::initConnections() { - // coco begin validated: Manually tested since required to disable and enable the CANBus + // disabled coco begin validated: Manually tested since required to disable and enable the CANBus if (_canDevice) { // coco end connect(_canDevice, SIGNAL( framesReceived()), @@ -168,7 +168,7 @@ */ void CanInterface::quitThread() { - // coco begin validated: Application termination is not correctly done in coco!!! + // disabled coco begin validated: Application termination is not correctly done in coco!!! // it has been tested and works perfectly fine in normal run. if (! _thread) return; @@ -187,7 +187,7 @@ { QString mError; _canDevice = QCanBus::instance()->createDevice(_canType, _canInterface, &mError); - // coco begin validated: Manually tested since required to disable and enable the CANBus + // disabled coco begin validated: Manually tested since required to disable and enable the CANBus if (!_canDevice) { status(tr("Device Creation"), mError); LOG_DEBUG(status()); @@ -220,7 +220,7 @@ */ void CanInterface::quitDevice() { - // coco begin validated: Manually tested since required to disable and enable the CANBus + // disabled coco begin validated: Manually tested since required to disable and enable the CANBus if (!_canDevice) return; // coco end _canDevice->disconnectDevice(); @@ -259,7 +259,7 @@ */ bool CanInterface::transmit(const QCanBusFrame &vFrame) { - // coco begin validated: Manually tested since required to disable and enable the CANBus + // disabled coco begin validated: Manually tested since required to disable and enable the CANBus if( !_canDevice ) return false; //coco end return _canDevice->writeFrame(vFrame); @@ -273,7 +273,7 @@ */ void CanInterface::consoleOut(const QCanBusFrame &vFrame, const QString &vFrameCount) { - // coco begin validated: This code is only for debugging purposes and had been tested manually. + // disabled coco begin validated: This code is only for debugging purposes and had been tested manually. if ( ! _enableConsoleOut ) return; const QString time = QString::fromLatin1("%1.%2 ") @@ -321,7 +321,7 @@ */ FrameCount CanInterface::erCount() { - // coco begin validated: CANBus error handling has been tested manually. + // disabled coco begin validated: CANBus error handling has been tested manually. // since it requires massive can messages sent/received to catch the error Types::safeIncrement(_erFrameCount); return _erFrameCount; @@ -336,7 +336,7 @@ */ QString CanInterface::frameFlags(const QCanBusFrame &vFrame) { - // coco begin validated: CANBus error handling has been tested manually. + // disabled coco begin validated: CANBus error handling has been tested manually. // since it requires massive can messages sent/received to catch the error QString result = QLatin1String(" --- "); @@ -358,7 +358,7 @@ */ void CanInterface::onFrameError(QCanBusDevice::CanBusError vError) { - // coco begin validated: CANBus error handling has been tested manually. + // disabled coco begin validated: CANBus error handling has been tested manually. // since it requires massive can messages sent/received to catch the error erCount(); switch (vError) { @@ -403,13 +403,13 @@ */ void CanInterface::onFrameReceive () { - // coco begin validated: Manually tested since required to disable and enable the CANBus + // disabled coco begin validated: Manually tested since required to disable and enable the CANBus if (!_canDevice) return; // coco end while (_canDevice->framesAvailable()) { const QCanBusFrame frame = _canDevice->readFrame(); rxCount(); - // coco begin validated: This code is only for debugging purposes and had been tested manually. + // disabled coco begin validated: This code is only for debugging purposes and had been tested manually. if ( _enableConsoleOut ) consoleOut(frame, QString("Rx:%1").arg(_rxFrameCount)); // coco end @@ -427,7 +427,7 @@ { bool ok = transmit(vFrame); txCount(); - // coco begin validated: This code is only for debugging purposes and had been tested manually. + // disabled coco begin validated: This code is only for debugging purposes and had been tested manually. if ( _enableConsoleOut ) consoleOut(vFrame, QString("Tx:%1").arg(_txFrameCount)); // coco end