diff --git a/wpilibcExamples/src/main/cpp/examples/SwerveControllerCommand/cpp/subsystems/SwerveModule.cpp b/wpilibcExamples/src/main/cpp/examples/SwerveControllerCommand/cpp/subsystems/SwerveModule.cpp index dc1cdb0bc4..d565e84fbf 100644 --- a/wpilibcExamples/src/main/cpp/examples/SwerveControllerCommand/cpp/subsystems/SwerveModule.cpp +++ b/wpilibcExamples/src/main/cpp/examples/SwerveControllerCommand/cpp/subsystems/SwerveModule.cpp @@ -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),