mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-28 02:11:43 +00:00
[wpilib] Rename MotorSafety constants to all caps
This commit is contained in:
@@ -105,10 +105,10 @@ class MotorSafety {
|
||||
virtual std::string GetDescription() const = 0;
|
||||
|
||||
private:
|
||||
static constexpr auto kDefaultSafetyExpiration = 100_ms;
|
||||
static constexpr auto DEFAULT_SAFETY_EXPIRATION = 100_ms;
|
||||
|
||||
// The expiration time for this object
|
||||
wpi::units::second_t m_expiration = kDefaultSafetyExpiration;
|
||||
wpi::units::second_t m_expiration = DEFAULT_SAFETY_EXPIRATION;
|
||||
|
||||
// True if motor safety is enabled for this motor
|
||||
bool m_enabled = false;
|
||||
|
||||
Reference in New Issue
Block a user