mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-11-19 03:05:14 +00:00
discard received packets --- this lets you run multiple rftest-tx's at
the same time.
This commit is contained in:
parent
5242883aa7
commit
053f73dce4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user