Allow CC13xxware to automatically configure RTRIM for us

This commit is contained in:
George Oikonomou 2016-12-03 15:20:24 +00:00
parent 2934c6bbe7
commit f07ed3fc01

View file

@ -599,6 +599,9 @@ init(void)
/* Initialize current read pointer to first element (used in ISR) */ /* Initialize current read pointer to first element (used in ISR) */
rx_read_entry = rx_buf_0; rx_read_entry = rx_buf_0;
/* Let CC13xxware automatically set a correct value for RTRIM for us */
ti_lib_rfcrtrim((rfc_radioOp_t *)&smartrf_settings_cmd_prop_radio_div_setup);
smartrf_settings_cmd_prop_rx_adv.pQueue = &rx_data_queue; smartrf_settings_cmd_prop_rx_adv.pQueue = &rx_data_queue;
smartrf_settings_cmd_prop_rx_adv.pOutput = (uint8_t *)&rx_stats; smartrf_settings_cmd_prop_rx_adv.pOutput = (uint8_t *)&rx_stats;