contiki/cpu/mc1322x/debug-uart.c

13 lines
208 B
C
Raw Normal View History

#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;
}