From 803cb1d7974ed7d419550cc66480c107c2f0d454 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Thu, 25 Feb 2010 15:46:01 -0800 Subject: Added call to set antenna. Split XCVR into new thing cuz size. --- usrp2/firmware/lib/db_init.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'usrp2/firmware/lib/db_init.c') diff --git a/usrp2/firmware/lib/db_init.c b/usrp2/firmware/lib/db_init.c index 5104f3ce0..7dababa30 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,9 @@ 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) +{ + return db->set_antenna(db, ant); +} -- cgit