summaryrefslogtreecommitdiff
path: root/usrp2/firmware/lib/db_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'usrp2/firmware/lib/db_init.c')
-rw-r--r--usrp2/firmware/lib/db_init.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/usrp2/firmware/lib/db_init.c b/usrp2/firmware/lib/db_init.c
index 5104f3ce0..bc82946fc 100644
--- a/usrp2/firmware/lib/db_init.c
+++ b/usrp2/firmware/lib/db_init.c
@@ -52,9 +52,6 @@ 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;
-
struct db_base *all_dboards[] = {
&db_basic_tx,
&db_basic_rx,
@@ -76,8 +73,6 @@ struct db_base *all_dboards[] = {
#endif
&db_tvrx3,
&db_dbsrx,
- &db_xcvr2450_tx,
- &db_xcvr2450_rx,
0
};
@@ -428,3 +423,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);
+}