From 1cd5bef30957e3f288d71fa812da883efd47aba1 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Thu, 4 Apr 2024 01:09:04 +0200 Subject: Reduce integration time --- private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit v1.2.1