use check_maca in rftests

This commit is contained in:
Mariano Alvira 2010-04-06 17:10:28 -04:00
parent 14c4faf977
commit e21e8f1a45
3 changed files with 9 additions and 1529 deletions

File diff suppressed because it is too large Load Diff

View File

@ -41,6 +41,11 @@ void main(void) {
print_welcome("rftest-rx");
while(1) {
/* call check_maca() periodically --- this works around */
/* a few lockup conditions */
check_maca();
if((p = rx_packet())) {
/* print and free the packet */
printf("rftest-rx --- ");

View File

@ -54,6 +54,10 @@ void main(void) {
while(1) {
/* call check_maca() periodically --- this works around */
/* a few lockup conditions */
check_maca();
p = get_free_packet();
if(p) {
fill_packet(p);