aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/b200/b200_uart.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-07-03 13:47:33 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-07-03 13:47:33 +0200
commit20462a7a55b53ae9d93d51d5ec3bb327b5a54330 (patch)
tree5e16761aec4d5adcb760bb3a2540223d33424c81 /host/lib/usrp/b200/b200_uart.cpp
parentd9571110348d28de65bd1f45c156c29f1a9218b2 (diff)
downloaduhd-20462a7a55b53ae9d93d51d5ec3bb327b5a54330.tar.gz
uhd-20462a7a55b53ae9d93d51d5ec3bb327b5a54330.tar.bz2
uhd-20462a7a55b53ae9d93d51d5ec3bb327b5a54330.zip
UART! Don't kill my bytes!
Diffstat (limited to 'host/lib/usrp/b200/b200_uart.cpp')
-rw-r--r--host/lib/usrp/b200/b200_uart.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/host/lib/usrp/b200/b200_uart.cpp b/host/lib/usrp/b200/b200_uart.cpp
index 4682a79b9..c147a4ccf 100644
--- a/host/lib/usrp/b200/b200_uart.cpp
+++ b/host/lib/usrp/b200/b200_uart.cpp
@@ -80,7 +80,6 @@ struct b200_uart_impl : b200_uart
char ch = '\0';
while (_char_queue.pop_with_timed_wait(ch, timeout))
{
- if (ch == '\r') continue;
line += std::string(&ch, 1);
if (ch == '\n') return line;
}