From 24bc1f81401a1bde41cf1602b2204614e1b4131c Mon Sep 17 00:00:00 2001 From: Thomas Kolb Date: Fri, 31 May 2024 18:36:16 +0200 Subject: [PATCH] Fixed packet size with appended CRC --- impl/src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/impl/src/main.c b/impl/src/main.c index e044966..37b86da 100644 --- a/impl/src/main.c +++ b/impl/src/main.c @@ -296,7 +296,7 @@ int main(int argc, char **argv) crc_append_key(PAYLOAD_CRC_SCHEME, packetbuf, ret); - LOG(LVL_DEBUG, "Transmitting packet with %d bytes.", ret); + LOG(LVL_DEBUG, "Transmitting packet with %d bytes.", ret + crc_size); RESULT_CHECK(layer1_tx_reset(&tx));