From a1d746f850c487c065e518052f5205812a1f4adf Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Wed, 1 Apr 2015 21:26:47 +0200 Subject: Do not touch READOUT flag as requested by Michele. Now we can get data from DMA when camera is not grabbing --- ipecamera/ipecamera.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'ipecamera/ipecamera.c') diff --git a/ipecamera/ipecamera.c b/ipecamera/ipecamera.c index f54c29d..892c59e 100644 --- a/ipecamera/ipecamera.c +++ b/ipecamera/ipecamera.c @@ -299,8 +299,6 @@ int ipecamera_start(pcilib_context_t *vctx, pcilib_event_t event_mask, pcilib_ev } // Allow readout and clean the FRAME_REQUEST mode if set for some reason - GET_REG(control_reg, value); - SET_REG(control_reg, value|IPECAMERA_READOUT_FLAG); usleep(IPECAMERA_SLEEP_TIME); if (value&0x1000) ctx->fr_mode = 1; else { -- cgit v1.2.3