debug-uart.c

00001 #include "contiki-conf.h"
00002 
00003 unsigned int
00004 dbg_send_bytes(const unsigned char *s, unsigned int len)
00005 {
00006         unsigned int i=0;
00007         while(s && *s!=0) {
00008                 if( i >= len) { break; }
00009                 dbg_putchar(*s++); i++;
00010         }
00011         return i;
00012 }

Generated on Mon Apr 11 14:23:34 2011 for Contiki 2.5 by  doxygen 1.6.1