mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[hal,wpilib] Rename Encoder constants to all caps
This commit is contained in:
@@ -56,7 +56,7 @@ class Robot : public wpi::TimedRobot {
|
||||
|
||||
// Initializes an encoder on DIO pins 0 and 1
|
||||
// 2X encoding and non-inverted
|
||||
wpi::Encoder m_encoder2x{0, 1, false, wpi::Encoder::EncodingType::k2X};
|
||||
wpi::Encoder m_encoder2x{0, 1, false, wpi::Encoder::EncodingType::X2};
|
||||
};
|
||||
|
||||
#ifndef RUNNING_WPILIB_TESTS
|
||||
|
||||
Reference in New Issue
Block a user