aboutsummaryrefslogtreecommitdiffstats
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>2016-05-25 21:37:51 +0200
commit5c2395508b3ec9b3ba6fc928093514421f8110d6 (patch)
tree753a18b6457c9383793b8f2c5469352651f3f82e
parent9b0e7eb86371525fea740f18fd62d6307baacdfe (diff)
downloaduhd-5c2395508b3ec9b3ba6fc928093514421f8110d6.tar.gz
uhd-5c2395508b3ec9b3ba6fc928093514421f8110d6.tar.bz2
uhd-5c2395508b3ec9b3ba6fc928093514421f8110d6.zip
UART! Don't kill my bytes!
-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;
}