Test refinement. IRQ test times out after not receiving anything, warning that you probably don't have interrupts hooked up.
This commit is contained in:
parent
a261710761
commit
d967f7708f
|
@ -272,6 +272,13 @@ void loop(void)
|
||||||
|
|
||||||
// Try again soon
|
// Try again soon
|
||||||
delay(interval);
|
delay(interval);
|
||||||
|
|
||||||
|
// Timeout if we have not received anything back ever
|
||||||
|
if ( ! last_message_count && millis() > interval * 10 )
|
||||||
|
{
|
||||||
|
printf("No responses received. Are interrupts connected??\n\r");
|
||||||
|
done = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -291,6 +298,9 @@ void loop(void)
|
||||||
else
|
else
|
||||||
printf("FAIL\n\r\n\r");
|
printf("FAIL\n\r\n\r");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
//
|
||||||
}
|
}
|
||||||
|
|
||||||
void check_radio(void)
|
void check_radio(void)
|
||||||
|
|
Loading…
Reference in New Issue