mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-22 22:32:11 +08:00
Removed zero termination as a for constuct was used
This commit is contained in:
@@ -39,7 +39,7 @@ private:
|
||||
GPIO_GPIO5_OUTPUT
|
||||
};
|
||||
|
||||
uint32_t _triggers[arraySize(_gpios) + 1];
|
||||
uint32_t _triggers[arraySize(_gpios)];
|
||||
};
|
||||
|
||||
#endif /* ifdef __PX4_NUTTX */
|
||||
|
||||
Reference in New Issue
Block a user