Work in progress.

This commit is contained in:
JeroenSt 2022-08-17 19:55:41 +02:00
parent 9881183726
commit 2c2a73506d
1 changed files with 1 additions and 1 deletions

View File

@ -562,7 +562,7 @@ void CmndModbusBridgeSend(void)
}
else
{
writeData = (uint16_t *)malloc(writeDataSize);
writeData = (uint16_t *)malloc(writeDataSize*2);
for (uint8_t jsonDataArrayPointer = 0; jsonDataArrayPointer < writeDataSize; jsonDataArrayPointer++)
{
writeData[jsonDataArrayPointer] = jsonDataArray[jsonDataArrayPointer].getUInt(0);