projects
/
debian
/
gnuradio
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix failure with interp > 128
[debian/gnuradio]
/
usrp2
/
firmware
/
apps
/
app_common_v2.c
diff --git
a/usrp2/firmware/apps/app_common_v2.c
b/usrp2/firmware/apps/app_common_v2.c
index 0777ee0901b36dfedc8660ee99c0a1dd60b09476..702cbdb7cac94cca243d1e242d132e7148ebedb8 100644
(file)
--- 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;