From fb790bb2e462f4b00be49c29e570587d5a7d21af Mon Sep 17 00:00:00 2001 From: mattf Date: Thu, 16 Aug 2007 20:11:43 +0000 Subject: Merged revisions 2862 via svnmerge from https://origsvn.digium.com/svn/zaptel/branches/1.4 ................ r2862 | mattf | 2007-08-16 15:10:39 -0500 (Thu, 16 Aug 2007) | 9 lines Merged revisions 2861 via svnmerge from https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r2861 | mattf | 2007-08-16 15:10:03 -0500 (Thu, 16 Aug 2007) | 1 line Remove some unused variables from compilation ........ ................ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2863 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- wctdm24xxp/GpakApi.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/wctdm24xxp/GpakApi.c b/wctdm24xxp/GpakApi.c index 2abb67a..e52f9ab 100644 --- a/wctdm24xxp/GpakApi.c +++ b/wctdm24xxp/GpakApi.c @@ -106,10 +106,12 @@ static int CheckDspReset( DSP_ADDRESS IfBlockPntr; /* Interface Block pointer */ DSP_WORD DspStatus; /* DSP Status */ DSP_WORD DspChannels; /* number of DSP channels */ + DSP_WORD Temp[2]; +#if 0 DSP_WORD DspConfs; /* number of DSP conferences */ DSP_ADDRESS PktBufrMem; /* address of Packet Buffer */ - DSP_WORD Temp[2]; unsigned short int i; /* loop index / counter */ +#endif /* Read the pointer to the Interface Block. */ gpakReadDspMemory(DspId, DSP_IFBLK_ADDRESS, 2, Temp); @@ -867,7 +869,9 @@ gpakReadEventFIFOMessageStat_t gpakReadEventFIFOMessage( DSP_WORD TakeIndex; /* event fifo take index */ DSP_WORD WordsReady; /* number words ready for read out of event fifo */ DSP_WORD EventError; /* flag indicating error with event fifo msg */ +#if 0 DSP_WORD *pDebugData; /* debug data buffer pointer in event data struct */ +#endif /* Make sure the DSP Id is valid. */ if (DspId >= MAX_DSP_CORES) { -- cgit v1.2.3