From 22a3ed8955a9d40796d58e83993b5f56f117a27a Mon Sep 17 00:00:00 2001 From: JohnOrlando Date: Mon, 17 May 2010 16:15:49 -0500 Subject: -Updated to allow BURX support to be built into standard txrx.bin image -Also corrected db_bitshark_rx.c to the current version (previous git push error) that includes the needed delays after I2C commands --- usrp2/firmware/include/usrp2_types.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'usrp2/firmware/include') diff --git a/usrp2/firmware/include/usrp2_types.h b/usrp2/firmware/include/usrp2_types.h index dd2bcf1ed..32cb25c41 100644 --- a/usrp2/firmware/include/usrp2_types.h +++ b/usrp2/firmware/include/usrp2_types.h @@ -50,6 +50,12 @@ u2_fxpt_freq_round_to_int(u2_fxpt_freq_t fx) return (int)((fx+(1<<(U2_FPF_RP-1)))>>U2_FPF_RP); } +static inline unsigned int +u2_fxpt_freq_round_to_uint(u2_fxpt_freq_t fx) +{ + return (unsigned int)((fx+(1<<(U2_FPF_RP-1)))>>U2_FPF_RP); +} + static inline double u2_fxpt_freq_to_double(u2_fxpt_freq_t fx) { -- cgit