summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dma/ipe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dma/ipe.c b/dma/ipe.c
index 0b415e8..f2d0f74 100644
--- a/dma/ipe.c
+++ b/dma/ipe.c
@@ -414,10 +414,10 @@ int dma_ipe_stream_read(pcilib_dma_context_t *vctx, pcilib_dma_engine_t dma, uin
// Failing out if we exited on timeout
if ((ctx->last_read_addr == (*last_written_addr_ptr))||(*last_written_addr_ptr == 0)) {
#ifdef IPEDMA_SUPPORT_EMPTY_DETECTED
-//# ifdef IPEDMA_DEBUG
+# ifdef IPEDMA_DEBUG
if ((wait)&&(*last_written_addr_ptr)&&(!*empty_detected_ptr))
pcilib_warning("The empty_detected flag is not set, but no data arrived within %lu us\n", wait);
-//# endif /* IPEDMA_DEBUG */
+# endif /* IPEDMA_DEBUG */
#endif /* IPEDMA_SUPPORT_EMPTY_DETECTED */
return (ret&PCILIB_STREAMING_FAIL)?PCILIB_ERROR_TIMEOUT:0;
}