projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
USB: coding style fixes (structure naming)
[bertos.git]
/
bertos
/
drv
/
kdebug.c
diff --git
a/bertos/drv/kdebug.c
b/bertos/drv/kdebug.c
index 9c210343bc149f03235032d68ff3dc90d7a80aa7..2125e2a14a2d66ab1880d35775b7f5ccaf037304 100644
(file)
--- a/
bertos/drv/kdebug.c
+++ b/
bertos/drv/kdebug.c
@@
-274,11
+274,11
@@
void kdump(const void *_buf, size_t len)
{
const unsigned char *buf = (const unsigned char *)_buf;
{
const unsigned char *buf = (const unsigned char *)_buf;
- kprintf("Dumping buffer at addr [%p], %z bytes", buf, len);
+ kprintf("Dumping buffer at addr [%p], %z
u
bytes", buf, len);
size_t i=0;
while (len--)
{
size_t i=0;
while (len--)
{
- if ((i % 16) == 0)
+ if ((i
++
% 16) == 0)
kputs("\n");
kprintf("%02X ", *buf++);
}
kputs("\n");
kprintf("%02X ", *buf++);
}