From f4d62eec09ce9a6575f6b1d0f7056e93a99ee155 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Mon, 29 Apr 2019 23:02:49 +0200 Subject: [PATCH] Fix COMMS_DEBUG_RAW --- client/comms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/comms.c b/client/comms.c index ffe1aa974..2cb397007 100644 --- a/client/comms.c +++ b/client/comms.c @@ -164,7 +164,7 @@ static void SendCommandNG_internal(uint16_t cmd, uint8_t *data, size_t len, bool print_hex_break((uint8_t *)&txBufferNG.data, 3 * sizeof(uint64_t), 32); print_hex_break((uint8_t *)&txBufferNG.data + 3 * sizeof(uint64_t), len - 3 * sizeof(uint64_t), 32); } - print_hex_break((uint8_t *)&tx_post, sizeof(PacketCommandNGPostamble), 32); + print_hex_break((uint8_t *)tx_post, sizeof(PacketCommandNGPostamble), 32); #endif txBuffer_pending = true;