Revision 1456 branches/colonetmk2/code/projects/libwireless/lib/wireless.c

View differences:

wireless.c
34 34

  
35 35
#include "wireless.h"
36 36
#include "xbee.h"
37
#include <stdlib.h>
37

  
38
#include <stddef.h>
39

  
40
#ifdef WL_DEBUG
38 41
#include <stdio.h>
42
#endif
39 43

  
40 44
#include "wl_defs.h"
41 45

  
......
461 465
	else
462 466
	{
463 467
		WL_DEBUG_PRINT("Unexpected packet received from XBee.\r\n");
468
		#ifdef WL_DEBUG
469
		#ifndef ROBOT
464 470
		printf("0x%2X\n", wl_buf[0]);
465 471
		printf("%c%c%d\n", wl_buf[2], wl_buf[3], wl_buf[4]);
472
		#endif
473
		#endif
466 474
	}
467 475
}
468 476

  

Also available in: Unified diff