From bd3350c28a0bc6470856f8f5aab69bec89553a19 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Mon, 28 Nov 2022 09:38:32 +0100 Subject: [PATCH] this might be a bug --- linux/devices/devicedefinitions/PlocSupervisorDefinitions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux/devices/devicedefinitions/PlocSupervisorDefinitions.h b/linux/devices/devicedefinitions/PlocSupervisorDefinitions.h index aad0a4c8..68ac6447 100644 --- a/linux/devices/devicedefinitions/PlocSupervisorDefinitions.h +++ b/linux/devices/devicedefinitions/PlocSupervisorDefinitions.h @@ -1198,7 +1198,7 @@ class WriteMemory : public TcBase { if (updateDataLen % 2 != 0) { // 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 - data[updateDataLen + 1] = 0; + data[updateDataLen] = 0; } return returnvalue::OK; }