diff options
author | JohnOrlando | 2010-05-17 16:15:49 -0500 |
---|---|---|
committer | JohnOrlando | 2010-05-17 16:15:49 -0500 |
commit | 22a3ed8955a9d40796d58e83993b5f56f117a27a (patch) | |
tree | 75d0fc204ba9692b8a6396d6fd9c94765df5d2ec /usrp2/firmware/include | |
parent | 7dba4b4a3cf9b2f0fab397494d84c948a3bf85d1 (diff) | |
download | gnuradio-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.h | 6 |
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) { |