summaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
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());