Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

softusb-input debug: fix hexdump format

  • Loading branch information...
commit 5487292f3586ffb61e14a25e8ab878444317d976 1 parent 56e57ba
@xiangfu xiangfu authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 softusb-input/debug.c
View
4 softusb-input/debug.c
@@ -60,13 +60,11 @@ void dump_hex(unsigned char *buf, unsigned char len)
} else {
for(i=0;i<len;i++) {
print_hex(buf[i]);
- if(((i & 0x0f) == 0) && (i != 0))
+ if((i & 0x0f) == 0xf)
print_char('\n');
else
print_char(' ');
}
- if(i & 0x0f)
- print_char('\n');
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.