adding log for priority setting and using pipeline structure
This commit is contained in:
@@ -909,7 +909,8 @@ int trx_usrp_reset_stats(openair0_device *device) {
|
||||
|
||||
/*! \brief Set uhd priority
|
||||
*/
|
||||
void uhd_set_thread_priority(void) {
|
||||
static void uhd_set_thread_priority(void) {
|
||||
//std::cout << "~~~~~~~~~~priority setting for USRP" << std::endl;
|
||||
uhd::set_thread_priority_safe(1.0);
|
||||
}
|
||||
|
||||
@@ -1368,6 +1369,7 @@ extern "C" {
|
||||
device->trx_set_freq_func = trx_usrp_set_freq;
|
||||
device->trx_set_gains_func = trx_usrp_set_gains;
|
||||
device->openair0_cfg = openair0_cfg;
|
||||
device->uhd_set_thread_priority = uhd_set_thread_priority;
|
||||
s->sample_rate = openair0_cfg[0].sample_rate;
|
||||
|
||||
// TODO:
|
||||
|
||||
Reference in New Issue
Block a user