From 004697d45d2a5ed5a4c4e83cbd12ac53fbf114d9 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Wed, 14 Jul 2004 16:09:39 +0000 Subject: Add linrad, Amateur Radio DSP utility (SDR) PR: ports/68873 Submitted by: Diane Bruce --- comms/linrad/files/patch-wcw.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 comms/linrad/files/patch-wcw.c (limited to 'comms/linrad/files/patch-wcw.c') diff --git a/comms/linrad/files/patch-wcw.c b/comms/linrad/files/patch-wcw.c new file mode 100644 index 000000000000..40e57c762866 --- /dev/null +++ b/comms/linrad/files/patch-wcw.c @@ -0,0 +1,28 @@ +--- wcw.c.orig Thu Jul 8 18:22:12 2004 ++++ wcw.c Thu Jul 8 18:22:55 2004 +@@ -116,10 +116,12 @@ + int syncflag, baseb_graph_time; + audio_buf_info ad_info, ad_info2; + touch_stack(); ++#if 0 + if(ui.memlock == 0) + { + if(mlockall(MCL_CURRENT) != 0)end_program(1165); + } ++#endif + baseb_graph_time=0; + get_buffers(0); + if(lir_status != LIR_OK)return; +@@ -181,10 +183,12 @@ + diskread_timer=recent_time; + latest_idle_time=recent_time; + lirsta=RX_LOW_PRIO; ++#if 0 + if(ui.memlock == 0) + { + if(mlockall(MCL_CURRENT) != 0)lir_status=LIR_MEMERR; + } ++#endif + if(lir_status != LIR_OK)goto wcw_exit; + // ******************************************************* + // MAIN RECEIVE LOOP -- cgit v1.2.3