diff --git a/src/drivers/camera_trigger/interfaces/src/gpio.h b/src/drivers/camera_trigger/interfaces/src/gpio.h index 6582316c032fba2799a8a3d164bf8748fffaa4e8..394e3169ce09b280ec84ee2b2c6a1ad584cae4ef 100644 --- a/src/drivers/camera_trigger/interfaces/src/gpio.h +++ b/src/drivers/camera_trigger/interfaces/src/gpio.h @@ -39,7 +39,7 @@ private: GPIO_GPIO5_OUTPUT }; - uint32_t _triggers[arraySize(_gpios) + 1]; + uint32_t _triggers[arraySize(_gpios)]; }; #endif /* ifdef __PX4_NUTTX */