Fixed RX buf restart, and fixed RF prop settings include
This commit is contained in:
parent
5f8727a6ba
commit
178bafad2e
@ -512,6 +512,8 @@ PROCESS_THREAD(rf_core_process, ev, data)
|
||||
if (rx_buf_full) {
|
||||
PRINTF("rf_core: RX buf full, restart RX\n");
|
||||
rx_buf_full = false;
|
||||
/* Restart RX */
|
||||
netstack_stop_rx();
|
||||
netstack_sched_rx();
|
||||
}
|
||||
|
||||
|
@ -60,7 +60,7 @@
|
||||
#include "rf-core.h"
|
||||
#include "rf-data-queue.h"
|
||||
#include "netstack-settings.h"
|
||||
#include RF_CORE_PROP_RF_SETTINGS
|
||||
#include RF_PROP_SETTINGS
|
||||
/*---------------------------------------------------------------------------*/
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
|
Loading…
Reference in New Issue
Block a user