X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=usrp2%2Ffirmware%2Flib%2Fdb.h;fp=usrp2%2Ffirmware%2Flib%2Fdb.h;h=9c0f41da5dbceccd30fef5c56d965fcfc764bd3f;hb=35e43e8d8c271e6842191cac3fc3f2f88a861183;hp=cec960267d2f072354199fc113249c27a3efd029;hpb=ea29b08aeb54227e6628f655ccfdb96fe4d8c378;p=debian%2Fgnuradio diff --git a/usrp2/firmware/lib/db.h b/usrp2/firmware/lib/db.h index cec96026..9c0f41da 100644 --- a/usrp2/firmware/lib/db.h +++ b/usrp2/firmware/lib/db.h @@ -99,6 +99,14 @@ db_set_duc_freq(u2_fxpt_freq_t dxc_freq, u2_fxpt_freq_t *actual_dxc_freq); */ bool db_set_gain(struct db_base *db, u2_fxpt_gain_t gain); - + +bool +db_set_antenna(struct db_base *db, int ant); + +/*! + * \brief Read the eeprom value from the db, without defaulting to BasicRX/TX + */ +int +read_dboard_eeprom(int i2c_addr); #endif /* INCLUDED_DB_H */