v1.17.0 #327
@ -1198,7 +1198,7 @@ class WriteMemory : public TcBase {
|
|||||||
if (updateDataLen % 2 != 0) {
|
if (updateDataLen % 2 != 0) {
|
||||||
// The data field must be two bytes aligned. Thus, in case the number of bytes to write is odd
|
// The data field must be two bytes aligned. Thus, in case the number of bytes to write is odd
|
||||||
// a value of zero is added here
|
// a value of zero is added here
|
||||||
data[updateDataLen + 1] = 0;
|
data[updateDataLen] = 0;
|
||||||
}
|
}
|
||||||
return returnvalue::OK;
|
return returnvalue::OK;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user