[wpilibcExamples] Match array parameter bounds (#5880)

Required by newer versions of clang.
This commit is contained in:
Peter Johnson
2023-11-04 23:55:13 -07:00
committed by GitHub
parent 14dcd0d26f
commit e69a9efeba

View File

@@ -11,8 +11,8 @@
#include "Constants.h"
SwerveModule::SwerveModule(int driveMotorChannel, int turningMotorChannel,
const int driveEncoderPorts[],
const int turningEncoderPorts[],
const int driveEncoderPorts[2],
const int turningEncoderPorts[2],
bool driveEncoderReversed,
bool turningEncoderReversed)
: m_driveMotor(driveMotorChannel),