Extend the RF core to support RF switches

This commit is contained in:
George Oikonomou 2016-11-06 18:42:20 +00:00
parent e0e6f82c46
commit 6b7681c516
5 changed files with 118 additions and 0 deletions

View file

@ -56,6 +56,7 @@
#include "lpm.h"
#include "ti-lib.h"
#include "rf-core/rf-core.h"
#include "rf-core/rf-switch.h"
#include "rf-core/rf-ble.h"
/*---------------------------------------------------------------------------*/
/* RF core and RF HAL API */
@ -473,6 +474,8 @@ rf_radio_setup()
uint32_t cmd_status;
rfc_CMD_RADIO_SETUP_t cmd;
rf_switch_select_path(RF_SWITCH_PATH_2_4GHZ);
/* Create radio setup command */
rf_core_init_radio_op((rfc_radioOp_t *)&cmd, sizeof(cmd), CMD_RADIO_SETUP);