Skip to content

Commit

Permalink
[wpilibcExamples] Match array parameter bounds (wpilibsuite#5880)
Browse files Browse the repository at this point in the history
Required by newer versions of clang.
  • Loading branch information
PeterJohnson authored and Starlight220 committed Dec 1, 2023
1 parent a064f1d commit 3ea2311
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 3ea2311

Please sign in to comment.