summaryrefslogtreecommitdiff
path: root/usrp2/firmware/lib/db_init.c
diff options
context:
space:
mode:
authorJosh Blum2010-02-25 15:46:01 -0800
committerJosh Blum2010-02-25 15:46:01 -0800
commit803cb1d7974ed7d419550cc66480c107c2f0d454 (patch)
tree6127f99d30952b5d8a9491fdb9afc5fe3aae446d /usrp2/firmware/lib/db_init.c
parentdb29a2cfc18554ae0a3c55a4e13dc4cbfa86317f (diff)
downloadgnuradio-803cb1d7974ed7d419550cc66480c107c2f0d454.tar.gz
gnuradio-803cb1d7974ed7d419550cc66480c107c2f0d454.tar.bz2
gnuradio-803cb1d7974ed7d419550cc66480c107c2f0d454.zip
Added call to set antenna. Split XCVR into new thing cuz size.
Diffstat (limited to 'usrp2/firmware/lib/db_init.c')
-rw-r--r--usrp2/firmware/lib/db_init.c11
1 files changed, 6 insertions, 5 deletions
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);
+}