aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorNick Foster <nick@ettus.com>2011-06-14 17:23:08 -0700
committerNick Foster <nick@ettus.com>2011-06-14 17:23:08 -0700
commitfb85b0c9eb5a50a16e7568140d144650794774de (patch)
tree6f488a90b6adc86fc57db9025aab88dabc688c03 /host
parentf9f24deb78f93f4e238adac26ec242693432a234 (diff)
downloaduhd-fb85b0c9eb5a50a16e7568140d144650794774de.tar.gz
uhd-fb85b0c9eb5a50a16e7568140d144650794774de.tar.bz2
uhd-fb85b0c9eb5a50a16e7568140d144650794774de.zip
N210: stop sending 1 char at a time to the GPSDO
Diffstat (limited to 'host')
-rw-r--r--host/lib/usrp/usrp2/usrp2_iface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_iface.cpp b/host/lib/usrp/usrp2/usrp2_iface.cpp
index 85858929d..ec1a2e94c 100644
--- a/host/lib/usrp/usrp2/usrp2_iface.cpp
+++ b/host/lib/usrp/usrp2/usrp2_iface.cpp
@@ -270,7 +270,7 @@ public:
**********************************************************************/
void write_uart(boost::uint8_t dev, const std::string &buf){
//first tokenize the string into 20-byte substrings
- boost::offset_separator f(20, 1, true, true);
+ boost::offset_separator f(20, 20, true, true);
boost::tokenizer<boost::offset_separator> tok(buf, f);
std::vector<std::string> queue(tok.begin(), tok.end());