As of today none of the supported sensor types requires more
than two events ; let's adjust this constant down, as it can
easily be bumped up whenever we add support for more complex
sensor types.
Change-Id: I4916717aed5cd8cc0db6ef58bc703c6251965b27
Signed-off-by: Patrick Porlan <patrick.porlan@intel.com>
#define MAX_DEVICES 9 /* Check iio devices 0 to MAX_DEVICES-1 */
#define MAX_SENSORS 12 /* We can handle as many sensors */
#define MAX_CHANNELS 4 /* We can handle as many channels per sensor */
-#define MAX_EVENTS 8 /* We can handle as many events per channel */
+#define MAX_EVENTS 2 /* We can handle as many events per channel */
#define MAX_TRIGGERS 8 /* Check for triggers 0 to MAX_TRIGGERS-1 */
#define DEV_FILE_PATH "/dev/iio:device%d"