summaryrefslogtreecommitdiff
path: root/firmware/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/debug.c')
-rw-r--r--firmware/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/debug.c b/firmware/debug.c
index 2ebcd86..977ece3 100644
--- a/firmware/debug.c
+++ b/firmware/debug.c
@@ -132,7 +132,7 @@ static void putpacket (char *buffer)
/* Do run length encoding */
for (runlen = 0; runlen < 100; runlen ++)
{
- if (src[0] != src[runlen])
+ if (src[0] != src[runlen] || runlen == 99)
{
if (runlen > 3)
{