Skip to content

Commit

Permalink
[examples] Match array parameter bounds
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterJohnson committed Nov 5, 2023
1 parent 63dbf5c commit 99ce0a7
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 99ce0a7

Please sign in to comment.