From 37ae102e38853331fa69b2efe6dec546f1a90c00 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Tue, 19 May 2020 19:09:25 +0200 Subject: [PATCH] LogTrace error msg --- armsrc/BigBuf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/armsrc/BigBuf.c b/armsrc/BigBuf.c index 8ee7cc189..755c88d9c 100644 --- a/armsrc/BigBuf.c +++ b/armsrc/BigBuf.c @@ -157,6 +157,7 @@ bool RAMFUNC LogTrace(const uint8_t *btBytes, uint16_t iLen, uint32_t timestamp_ return false; } if (timestamp_end - timestamp_start > 0x7FFF) { + Dbprintf("Error in LogTrace: duration too long for UINT16: 0x%08x", timestamp_end - timestamp_start); return false; // duration too long, must be max 15 bits } hdr->timestamp = timestamp_start;