From ea8a6139b5e96124a48e91173b3632455a99a8c4 Mon Sep 17 00:00:00 2001 From: Alex Swedenburg Date: Mon, 16 Nov 2015 09:48:40 -0700 Subject: [PATCH] Reapply DCD logic reversal fix --- hdlc_rec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hdlc_rec.c b/hdlc_rec.c index e71ef9a..407ec4c 100644 --- a/hdlc_rec.c +++ b/hdlc_rec.c @@ -666,7 +666,7 @@ int hdlc_rec_data_detect_any (int chan) text_color_set(DW_COLOR_ERROR); dw_printf ("Error opening %s to check TXINH.\n", stemp); dw_printf ("%s\n", strerror(e)); - return busy; + return (busy != 0); } char vtemp[2];