Project

General

Profile

Revision 1780

wireless: changed debug info in wl_send

View differences:

wireless_send.c
342 342
void ackhandle(uint8_t num,uint8_t val) {
343 343
  uint8_t len;
344 344
  uint8_t packets = 0;
345
  WL_DEBUG_PRINT_P("entering ackhandle function:\r\n");
345
  WL_DEBUG_PRINT_P("entering ackhandle function: num:");
346
  WL_DEBUG_PRINT_HEX(num);
347
  WL_DEBUG_PRINT_P("\r\n");
346 348
  switch(val) {
347 349
  case 0:
348 350
    WL_DEBUG_PRINT_P("ack success\r\n");
......
367 369
      WL_DEBUG_PRINT_P("|send_buf:");
368 370
      for(int i=send_buf_first;i<send_buf_last;i++)
369 371
        WL_DEBUG_PRINT_HEX(send_buf[i]);
370
      while(1) { delay_ms(1000); }
371 372
      if (send_buf_get(&val) != num) {
372 373
        // not the correct packet, so continue
373 374
        WL_DEBUG_PRINT_P("|not correct packet");

Also available in: Unified diff