Removed debug logging

This commit is contained in:
JeroenSt 2022-08-17 20:12:26 +02:00
parent b8000fa788
commit 995b669f28
1 changed files with 0 additions and 3 deletions

View File

@ -711,7 +711,6 @@ void CmndModbusBridgeSend(void)
{ {
case ModbusBridgeType::mb_bit: case ModbusBridgeType::mb_bit:
{ {
AddLog(LOG_LEVEL_DEBUG, PSTR("jsonDataArrayPointer[%u]=%u"), (uint8_t)jsonDataArrayPointer, (uint8_t)jsonDataArray[jsonDataArrayPointer].getUInt(0));
// Set 2 following bytes to 0 // Set 2 following bytes to 0
if (jsonDataArrayPointer % 16 == 0) if (jsonDataArrayPointer % 16 == 0)
{ {
@ -723,8 +722,6 @@ void CmndModbusBridgeSend(void)
if (bitPointer > 15) bitPointer -= 16; if (bitPointer > 15) bitPointer -= 16;
writeData[jsonDataArrayPointer/15] += bitValue << bitPointer; writeData[jsonDataArrayPointer/15] += bitValue << bitPointer;
AddLog(LOG_LEVEL_DEBUG, PSTR("writeDataPointer[%u]=%u bitPointer=[%u]=[%u]"), jsonDataArrayPointer/15, writeData[jsonDataArrayPointer/15], bitPointer, bitValue);
} }
break; break;
case ModbusBridgeType::mb_int8: case ModbusBridgeType::mb_int8: