Commit 239153a7 authored by Thomas BOUTROUE's avatar Thomas BOUTROUE

Shouldn't now adjust+write buffer in OBD when SDO WRITE SEG starts

parent 0fbc5bda
......@@ -1766,8 +1766,6 @@ void CanOpenProtocolManager::processSdoTransfer (CanOpenSdoTransfer * transfer)
if (transfer->expectedSize == objectSize
|| (CanOpenDataTypes::isTypeString (subEntry->getDataType ())
&& transfer->expectedSize <= objectSize)) {
transfer->adjustBuffer (objectSize);
subEntry->writeFromQtByteArray (transfer->buffer);
sdoFrame.commandSpecifier = (CanOpenSdoServerCmdSpecifs::ReplyAcceptDownload << 5);
sdoFrame.mutiplexed.idx = transfer->idx;
sdoFrame.mutiplexed.subIdx = transfer->subIdx;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment