mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-11-17 21:09:03 +00:00
1145fa9ba9
based on commit aac3a355451d899f02737f2907af8c874ee4feba of git://git.devl.org/git/malvira/contiki-mc1322x.git
13 lines
208 B
C
13 lines
208 B
C
#include "contiki-conf.h"
|
|
|
|
unsigned int
|
|
dbg_send_bytes(const unsigned char *s, unsigned int len)
|
|
{
|
|
unsigned int i=0;
|
|
while(s && *s!=0) {
|
|
if( i >= len) { break; }
|
|
dbg_putchar(*s++); i++;
|
|
}
|
|
return i;
|
|
}
|