Fixed RX buf restart, and fixed RF prop settings include

This commit is contained in:
Edvard Pettersen 2018-07-17 08:01:41 +02:00
parent 5f8727a6ba
commit 178bafad2e
2 changed files with 3 additions and 1 deletions

View File

@ -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();
}

View File

@ -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>