From 6ffba63c4060893223f9c99f7f6048af3ee6f98c Mon Sep 17 00:00:00 2001 From: jcorgan Date: Sun, 14 Dec 2008 01:05:27 +0000 Subject: Fix failure with interp > 128 git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10117 221aa14e-8319-0410-a670-987f0aec2ac5 --- usrp2/firmware/apps/app_common_v2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usrp2/firmware') 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; -- cgit