summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@tir.suren.me>2024-04-04 01:09:04 +0200
committerSuren A. Chilingaryan <csa@tir.suren.me>2024-04-04 01:09:04 +0200
commit1cd5bef30957e3f288d71fa812da883efd47aba1 (patch)
tree5e5a1f5ec62d3b6149657f9e998a7244dd58ea20
parentbe24c4d8751eaed09927596e9f0f218b03e2f1da (diff)
downloadpcidev-master.tar.gz
pcidev-master.tar.bz2
pcidev-master.tar.xz
pcidev-master.zip
Reduce integration timeHEADmaster
-rw-r--r--private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/private.h b/private.h
index 3c3c9da..74b89c2 100644
--- a/private.h
+++ b/private.h
@@ -21,7 +21,7 @@
#endif /* PCIDEV_DEBUG */
#define PCIDEV_DEFAULT_BUFFER_SIZE 256 //**< number of buffers in a ring buffer, should be power of 2 */
-#define PCIDEV_INTEGRATION_PERIOD 5000000 //**< the duration of integration period, in microseconds */
+#define PCIDEV_INTEGRATION_PERIOD 5 //**< the duration of integration period, in microseconds */
#define PCIDEV_EVENT_SIZE 256 //**< the size of event data in bytes, always 256 in this example */
#define PCIDEV_NOEVENT_SLEEP 100 //**< Sleep while polling for a new frame in reader */
#define PCIDEV_DMA_TIMEOUT 50000 //**< Default DMA timeout in microseconds */