summaryrefslogtreecommitdiffstats
path: root/firmware/debug.c
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-07-27 19:19:52 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-07-27 19:19:52 +0000
commitfa1afb72c9b668ded3290b6d918b28bb375c3ee0 (patch)
tree790e18536d29ea0eed0892943f1f4ba2a2cb50de /firmware/debug.c
parent70de4ec4c9183080846a4e0e2591fcd4850832d3 (diff)
downloadrockbox-fa1afb72c9b668ded3290b6d918b28bb375c3ee0.tar.gz
rockbox-fa1afb72c9b668ded3290b6d918b28bb375c3ee0.tar.bz2
rockbox-fa1afb72c9b668ded3290b6d918b28bb375c3ee0.zip
Fixed compression bug
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4964 a1c6a512-1295-4272-9138-f99709370657
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 2ebcd86778..977ece3f5d 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)
{