discard received packets --- this lets you run multiple rftest-tx's at
the same time.
This commit is contained in:
parent
5242883aa7
commit
053f73dce4
1 changed files with 4 additions and 0 deletions
|
@ -93,6 +93,10 @@ void main(void) {
|
||||||
/* a few lockup conditions */
|
/* a few lockup conditions */
|
||||||
check_maca();
|
check_maca();
|
||||||
|
|
||||||
|
while((p = rx_packet())) {
|
||||||
|
if(p) free_packet(p);
|
||||||
|
}
|
||||||
|
|
||||||
p = get_free_packet();
|
p = get_free_packet();
|
||||||
if(p) {
|
if(p) {
|
||||||
fill_packet(p);
|
fill_packet(p);
|
||||||
|
|
Loading…
Reference in a new issue