diff options
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); +} |