mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[wpilibcExamples] Match array parameter bounds (#5880)
Required by newer versions of clang.
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user