Revision 1687
wireless: updated xbee interrupt debug info
xbee.c | ||
---|---|---|
465 | 465 |
|
466 | 466 |
if (group == 0) { |
467 | 467 |
ptr = basic_buf_last; |
468 |
if (xbee_basic_buf_add(&ptr,0x00) != 0) |
|
469 |
break; |
|
468 | 470 |
// add source to basic buffer |
469 | 471 |
if (xbee_basic_buf_add(&ptr,(uint8_t)((source&0xFF00)>>8)) != 0) |
470 | 472 |
break; |
... | ... | |
502 | 504 |
} |
503 | 505 |
if (ptr != 0xFF && i > 6) { |
504 | 506 |
if (group == 0) { |
505 |
xbee_basic_buf[basic_buf_last] = i-6; // set length
|
|
507 |
xbee_basic_buf[basic_buf_last] = i-4; // set length
|
|
506 | 508 |
basic_buf_last = ptr; |
507 | 509 |
} |
508 | 510 |
else { |
509 |
xbee_other_buf[other_buf_last] = i-6; // set length
|
|
511 |
xbee_other_buf[other_buf_last] = i-2; // set length ** TODO: check this number
|
|
510 | 512 |
// check if we have a high priority group |
511 | 513 |
/*for(;;) |
512 | 514 |
if (HIGH_PRIORITY) { |
Also available in: Unified diff