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>2015-12-18 08:59:49 +0100
commit0efe90f8881d89008f56b920aa24e329d1d589ad (patch)
tree405d2a4556b088a7cebb261a4a7a044343853b4c
parent26501febfef8cf705e23cf758ea69ca2d221d64a (diff)
downloaduhd-0efe90f8881d89008f56b920aa24e329d1d589ad.tar.gz
uhd-0efe90f8881d89008f56b920aa24e329d1d589ad.tar.bz2
uhd-0efe90f8881d89008f56b920aa24e329d1d589ad.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;
}