diff options
Diffstat (limited to 'usrp2/firmware/lib/db_init.c')
-rw-r--r-- | usrp2/firmware/lib/db_init.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/usrp2/firmware/lib/db_init.c b/usrp2/firmware/lib/db_init.c index 5104f3ce0..d58badc9e 100644 --- a/usrp2/firmware/lib/db_init.c +++ b/usrp2/firmware/lib/db_init.c @@ -51,9 +51,7 @@ extern struct db_base db_tvrx1; extern struct db_base db_tvrx2; extern struct db_base db_tvrx3; extern struct db_base db_dbsrx; - -extern struct db_base db_xcvr2450_tx; -extern struct db_base db_xcvr2450_rx; +extern struct db_base db_bitshark_rx; struct db_base *all_dboards[] = { &db_basic_tx, @@ -76,8 +74,7 @@ struct db_base *all_dboards[] = { #endif &db_tvrx3, &db_dbsrx, - &db_xcvr2450_tx, - &db_xcvr2450_rx, + &db_bitshark_rx, 0 }; @@ -428,3 +425,10 @@ db_set_gain(struct db_base *db, u2_fxpt_gain_t gain) { return db->set_gain(db, gain); } + +bool +db_set_antenna(struct db_base *db, int ant) +{ + if (db->set_antenna == 0) return false; + return db->set_antenna(db, ant); +} |