From a19fecad94e3e937942abb6dcd3438fe1cce3d7a Mon Sep 17 00:00:00 2001
From: David Sidrane <david_s5@nscdg.com>
Date: Fri, 15 Jun 2018 04:44:05 -1000
Subject: [PATCH] Removed zero termination as a for constuct was used

---
 src/drivers/camera_trigger/interfaces/src/gpio.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/drivers/camera_trigger/interfaces/src/gpio.h b/src/drivers/camera_trigger/interfaces/src/gpio.h
index 6582316c03..394e3169ce 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 */
-- 
GitLab