Skip to content

Commit

Permalink
Merge pull request #124 from hideakitai/debug/add-debug-output-for-re…
Browse files Browse the repository at this point in the history
…cived-bytes

debug: add debug output for received bytes
  • Loading branch information
hideakitai authored Sep 1, 2024
2 parents 151eede + 526b372 commit f65e981
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Artnet/Receiver.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ class Receiver_
return OpCode::NoPacket;
}

this->logger->print(F("Packet received: size = "));
this->logger->println(size);

if (size > PACKET_SIZE) {
this->logger->print(F("Packet size is unexpectedly too large: "));
this->logger->println(size);
Expand Down

0 comments on commit f65e981

Please sign in to comment.