From 9b36294efac34b7d56dfed2da2b0f537265111d1 Mon Sep 17 00:00:00 2001 From: Alex Swedenburg Date: Fri, 13 Nov 2015 09:13:10 -0700 Subject: [PATCH] TXINH logic was reversed --- hdlc_rec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hdlc_rec.c b/hdlc_rec.c index ada1982..f7370a8 100644 --- a/hdlc_rec.c +++ b/hdlc_rec.c @@ -678,7 +678,7 @@ int hdlc_rec_data_detect_any (int chan) } close (fd); - if (atoi(vtemp) == save_audio_config_p->achan[chan].txinh.invert) busy = 1; + if (atoi(vtemp) != save_audio_config_p->achan[chan].txinh.invert) busy = 1; } #endif