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