summaryrefslogtreecommitdiffstats
path: root/host/lib/usrp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2012-04-10 19:05:02 -0700
committerJosh Blum <josh@joshknows.com>2012-04-10 19:05:02 -0700
commit8af42ce3c4890bca7fad0cf453d5a9c73fe8a1bf (patch)
treeb3d04af8251f37ad7a503162681ca863a2c386fe /host/lib/usrp
parent12ea88585e83100ed6f229808c4492445ca53e28 (diff)
downloaduhd-8af42ce3c4890bca7fad0cf453d5a9c73fe8a1bf.tar.gz
uhd-8af42ce3c4890bca7fad0cf453d5a9c73fe8a1bf.tar.bz2
uhd-8af42ce3c4890bca7fad0cf453d5a9c73fe8a1bf.zip
usrp: updated nchan usage for vita rx change
Diffstat (limited to 'host/lib/usrp')
-rw-r--r--host/lib/usrp/cores/rx_dsp_core_200.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/cores/rx_dsp_core_200.cpp b/host/lib/usrp/cores/rx_dsp_core_200.cpp
index cf8db1927..d0afda769 100644
--- a/host/lib/usrp/cores/rx_dsp_core_200.cpp
+++ b/host/lib/usrp/cores/rx_dsp_core_200.cpp
@@ -77,7 +77,7 @@ public:
}
void clear(void){
- _iface->poke32(REG_RX_CTRL_NCHANNELS, 1); //also reset
+ _iface->poke32(REG_RX_CTRL_NCHANNELS, 0); //also reset
_iface->poke32(REG_RX_CTRL_VRT_HDR, 0
| (0x1 << 28) //if data with stream id
| (0x1 << 26) //has trailer