From 526b3722429d3791bfa5616ee1e76376722532b2 Mon Sep 17 00:00:00 2001 From: Hideaki Tai Date: Sun, 1 Sep 2024 15:34:02 +0900 Subject: [PATCH] debug: add debug output for received bytes --- Artnet/Receiver.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Artnet/Receiver.h b/Artnet/Receiver.h index 089a550..6363404 100644 --- a/Artnet/Receiver.h +++ b/Artnet/Receiver.h @@ -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);