[wpilibcExamples] Add inline specifier to constexpr constants (#6049)

This commit is contained in:
ncorrea210
2023-12-14 23:52:02 -05:00
committed by GitHub
parent 85c9ae6eff
commit 8798700cec
20 changed files with 362 additions and 362 deletions

View File

@@ -14,13 +14,13 @@
*/
namespace IntakeConstants {
constexpr int kMotorPort = 1;
inline constexpr int kMotorPort = 1;
constexpr int kPistonFwdChannel = 0;
constexpr int kPistonRevChannel = 1;
constexpr double kIntakeSpeed = 0.5;
inline constexpr int kPistonFwdChannel = 0;
inline constexpr int kPistonRevChannel = 1;
inline constexpr double kIntakeSpeed = 0.5;
} // namespace IntakeConstants
namespace OperatorConstants {
constexpr int kJoystickIndex = 0;
inline constexpr int kJoystickIndex = 0;
} // namespace OperatorConstants