discard received packets --- this lets you run multiple rftest-tx's at

the same time.
This commit is contained in:
Mariano Alvira 2010-09-06 11:26:26 -04:00
parent 5242883aa7
commit 053f73dce4

View File

@ -93,6 +93,10 @@ void main(void) {
/* a few lockup conditions */
check_maca();
while((p = rx_packet())) {
if(p) free_packet(p);
}
p = get_free_packet();
if(p) {
fill_packet(p);