Revision 1458 trunk/code/projects/libwireless/lib/wireless.c
| wireless.c (revision 1458) | ||
|---|---|---|
| 466 | 466 |
{
|
| 467 | 467 |
WL_DEBUG_PRINT("Unexpected packet received from XBee.\r\n");
|
| 468 | 468 |
#ifdef WL_DEBUG |
| 469 |
#ifndef ROBOT |
|
| 470 |
printf("0x%2X\n", wl_buf[0]);
|
|
| 471 |
printf("%c%c%d\n", wl_buf[2], wl_buf[3], wl_buf[4]);
|
|
| 472 |
#endif |
|
| 473 |
#endif |
|
| 469 |
#ifndef ROBOT |
|
| 470 |
printf("0x%2X\n", wl_buf[0]);
|
|
| 471 |
printf("%c%c%d\n", wl_buf[2], wl_buf[3], wl_buf[4]);
|
|
| 472 |
#endif |
|
| 473 |
#endif |
|
| 474 | 474 |
} |
| 475 | 475 |
} |
| 476 | 476 |
|
Also available in: Unified diff