diff options
author | Johnathan Corgan | 2010-03-02 09:15:09 -0800 |
---|---|---|
committer | Johnathan Corgan | 2010-03-02 09:15:09 -0800 |
commit | b811e8749dcd7c96f1af2d98caba403e50c1602b (patch) | |
tree | 0f36f94f95cfe5dc003178eeafd23fe120ff38bc /usrp2/firmware/lib/db_init_wbx.c | |
parent | 97275c32783a8831c7eac3786257fe2e142d95c0 (diff) | |
parent | 4c296bd1f0e7769db69ca15bcc528802b06f752c (diff) | |
download | gnuradio-b811e8749dcd7c96f1af2d98caba403e50c1602b.tar.gz gnuradio-b811e8749dcd7c96f1af2d98caba403e50c1602b.tar.bz2 gnuradio-b811e8749dcd7c96f1af2d98caba403e50c1602b.zip |
Merge branch 'usrp2_set_ant' of git://gnuradio.org/jblum
Diffstat (limited to 'usrp2/firmware/lib/db_init_wbx.c')
-rw-r--r-- | usrp2/firmware/lib/db_init_wbx.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/usrp2/firmware/lib/db_init_wbx.c b/usrp2/firmware/lib/db_init_wbx.c index d7fa20cf9..8810e0d4d 100644 --- a/usrp2/firmware/lib/db_init_wbx.c +++ b/usrp2/firmware/lib/db_init_wbx.c @@ -395,3 +395,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); +} |