mirror of https://github.com/arendst/Tasmota.git
Work in progress.
This commit is contained in:
parent
9881183726
commit
2c2a73506d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue