Project

General

Profile

Revision 1624

wl: update to unit tests, still doesn't work

View differences:

wl_defs.h
54 54
// ***** TODO: these next two defines should be moved to makefile options
55 55

  
56 56
//comment out this line if using a computer hooked up to an xbee
57
//#define ROBOT
57
#define ROBOT
58 58

  
59 59
//uncomment this line for debug information
60
//#define WL_DEBUG
60
#define WL_DEBUG
61 61

  
62 62
/**@addtogroup wireless 
63 63
 * @{ **/
......
134 134
#define WL_DEBUG_PRINT( s ) usb_puts( s )
135 135
#define WL_DEBUG_PRINT_CHAR( c ) usb_putc( c )
136 136
#define WL_DEBUG_PRINT_INT( i ) usb_puti(i)
137
#define WL_DEBUG_PRINT_HEX( i ) usb_puth8(i)
137 138
#else
138 139
#define WL_DEBUG_PRINT( s ) printf( s )
139 140
#define WL_DEBUG_PRINT_CHAR( c ) printf("%c", c)
140 141
#define WL_DEBUG_PRINT_INT( i ) printf("%i", i)
142
#define WL_DEBUG_PRINT_HEX( i ) printf("%x", i)
141 143
#endif
142 144

  
143 145
#else
......
145 147
#define WL_DEBUG_PRINT( s )
146 148
#define WL_DEBUG_PRINT_CHAR( c )
147 149
#define WL_DEBUG_PRINT_INT( i )
150
#define WL_DEBUG_PRINT_HEX( i )
148 151

  
149 152
#endif
150 153

  

Also available in: Unified diff