diff options
author | jcorgan | 2008-12-14 01:05:27 +0000 |
---|---|---|
committer | jcorgan | 2008-12-14 01:05:27 +0000 |
commit | 6ffba63c4060893223f9c99f7f6048af3ee6f98c (patch) | |
tree | ad39630b1322b60d138ff299111679eabb689005 /usrp2/firmware/apps | |
parent | f2695be7c09fec1bc5b62f3b229b9002572aeb30 (diff) | |
download | gnuradio-6ffba63c4060893223f9c99f7f6048af3ee6f98c.tar.gz gnuradio-6ffba63c4060893223f9c99f7f6048af3ee6f98c.tar.bz2 gnuradio-6ffba63c4060893223f9c99f7f6048af3ee6f98c.zip |
Fix failure with interp > 128
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10117 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'usrp2/firmware/apps')
-rw-r--r-- | usrp2/firmware/apps/app_common_v2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usrp2/firmware/apps/app_common_v2.c b/usrp2/firmware/apps/app_common_v2.c index 0777ee090..702cbdb7c 100644 --- a/usrp2/firmware/apps/app_common_v2.c +++ b/usrp2/firmware/apps/app_common_v2.c @@ -180,7 +180,7 @@ config_tx_v2_cmd(const op_config_tx_v2_t *p, interp = interp >> 1; } - if (p->interp < MIN_INTERP || p->interp > MAX_INTERP) + if (interp < MIN_INTERP || interp > MAX_INTERP) ok = false; else { dsp_tx_regs->interp_rate = (hb1<<9) | (hb2<<8) | interp; |