summaryrefslogtreecommitdiff
path: root/usrp2/firmware/include
diff options
context:
space:
mode:
authorJohnOrlando2010-05-17 16:15:49 -0500
committerJohnOrlando2010-05-17 16:15:49 -0500
commit22a3ed8955a9d40796d58e83993b5f56f117a27a (patch)
tree75d0fc204ba9692b8a6396d6fd9c94765df5d2ec /usrp2/firmware/include
parent7dba4b4a3cf9b2f0fab397494d84c948a3bf85d1 (diff)
downloadgnuradio-22a3ed8955a9d40796d58e83993b5f56f117a27a.tar.gz
gnuradio-22a3ed8955a9d40796d58e83993b5f56f117a27a.tar.bz2
gnuradio-22a3ed8955a9d40796d58e83993b5f56f117a27a.zip
-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
Diffstat (limited to 'usrp2/firmware/include')
-rw-r--r--usrp2/firmware/include/usrp2_types.h6
1 files changed, 6 insertions, 0 deletions
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)
{