For more information, please refer to <http://unlicense.org/>
*/
-/* pigpio version 66 */
+/* pigpio version 67 */
/* include ------------------------------------------------------- */
#define BPD 4
-#define MAX_REPORT 120
+#define MAX_REPORT 250
#define MAX_SAMPLE 4000
#define DEFAULT_PWM_IDX 5
int err;
int max_emits;
char fifo[32];
- gpioReport_t report[MAX_REPORT];
+ /* ensure space for maximum number of watchdog and event notifications */
+ gpioReport_t report[MAX_REPORT+PI_MAX_USER_GPIO+1+PI_MAX_EVENT+1];
if (changedBits)
{