From b646194911cd70e91e84c8354d5bac35b27156df Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Tue, 19 Jul 2011 17:59:25 +0200 Subject: Few fixes for IPE Camera modification --- ipecamera/image.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'ipecamera/image.c') diff --git a/ipecamera/image.c b/ipecamera/image.c index 0fe8da8..62ab695 100644 --- a/ipecamera/image.c +++ b/ipecamera/image.c @@ -181,8 +181,12 @@ pcilib_dma_context_t *ipecamera_init_dma(pcilib_context_t *vctx) { pcilib_error("The DMA engine is not configured in model"); return NULL; } - + +#ifdef IPECAMERA_DMA_R3 + return model_info->dma_api->init(ctx->pcilib, PCILIB_NWL_MODIFICATION_IPECAMERA, NULL); +#else return model_info->dma_api->init(ctx->pcilib, PCILIB_DMA_MODIFICATION_DEFAULT, NULL); +#endif } -- cgit v1.2.3