[wpilib] Rename MotorSafety constants to all caps

This commit is contained in:
Peter Johnson
2026-03-17 16:46:04 -07:00
parent 3776f8a1ef
commit 87e677d4af
2 changed files with 4 additions and 4 deletions

View File

@@ -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;