summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/target/firmware/comm/sercomm_cons.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/target/firmware/comm/sercomm_cons.c b/src/target/firmware/comm/sercomm_cons.c
index e6b6934f..8d36a710 100644
--- a/src/target/firmware/comm/sercomm_cons.c
+++ b/src/target/firmware/comm/sercomm_cons.c
@@ -104,8 +104,7 @@ int sercomm_puts(const char *s)
/* flush buffer at end of line, but skip
* flushing if we have a backlog in order to
* increase efficiency of msgb filling */
- if (*s == '\n' &&
- sercomm_tx_queue_depth(SC_DLCI_CONSOLE) < 4)
+ if (*s == '\n')
flush = 1;
*data++ = *s++;
}