formatting

This commit is contained in:
proddy
2024-09-10 10:24:37 +02:00
parent 6c349d0304
commit 49c0bb4f17
2 changed files with 2 additions and 2 deletions

View File

@@ -155,7 +155,7 @@ bool ModbusClientTCPasync::addToQueue(int32_t token, ModbusMessage request, bool
HEXDUMP_V("Enqueue", request.data(), request.size());
RequestEntry * re = new RequestEntry(token, request, syncReq);
if (!re)
return false; // TODO: proper error returning in case allocation fails
return false; // TODO proper error returning in case allocation fails
// inject proper transactionID
re->head.transactionID = messageCount++;
re->head.len = request.size();