this might be a bug
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good

This commit is contained in:
Robin Müller 2022-11-28 09:38:32 +01:00
parent a20dce5a87
commit bd3350c28a
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC

View File

@ -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;
} }