diff options
author | Octasic Inc <support@octasic.com> | 2006-03-20 17:11:56 +0200 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2011-02-27 21:07:42 +0200 |
commit | 55d5dda36701cda2857f38ba7d60bd40f2c5e51a (patch) | |
tree | 6297b1df8f666906999a12def2a6ee2b43be4301 /software/octdeviceapi/oct6100api/oct6100_api/oct6100_debug.c | |
parent | a823b320b1baa1440e10793b9042a6f5c4138748 (diff) |
importing OCT612x-01.00-PR40
Diffstat (limited to 'software/octdeviceapi/oct6100api/oct6100_api/oct6100_debug.c')
-rw-r--r-- | software/octdeviceapi/oct6100api/oct6100_api/oct6100_debug.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_debug.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_debug.c index cc40588..45e9aee 100644 --- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_debug.c +++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_debug.c @@ -22,9 +22,9 @@ You should have received a copy of the GNU General Public License along with the OCT6100 GPL API; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. -$Octasic_Release: OCT612xAPI-01.00-PR39 $ +$Octasic_Release: OCT612xAPI-01.00-PR40 $ -$Octasic_Revision: 58 $ +$Octasic_Revision: 59 $ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ @@ -552,6 +552,11 @@ UINT32 Oct6100DebugGetDataSer( if ( pSharedInfo->DebugInfo.fDebugDataBeingDumped == FALSE ) { pSharedInfo->DebugInfo.fDebugDataBeingDumped = TRUE; + + /* Check that the channel is not in POWER_DOWN. When the channel is in POWER_DOWN, */ + /* the debug events are not recorded correctly in external memory. */ + if ( pChanEntry->byEchoOperationMode == cOCT6100_ECHO_OP_MODE_POWER_DOWN ) + return cOCT6100_ERR_DEBUG_CHANNEL_IN_POWER_DOWN; /* Flag the hot channel that it must stop recording. The data is being transfered. */ /* This also tells the remote client not to do anything right now. */ |