[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

@@ -21,9 +21,9 @@ import org.wpilib.util.WPIUtilJNI;
* <p>The subclass should call feed() whenever the motor value is updated.
*/
public abstract class MotorSafety {
private static final double kDefaultSafetyExpiration = 0.1;
private static final double DEFAULT_SAFETY_EXPIRATION = 0.1;
private double m_expiration = kDefaultSafetyExpiration;
private double m_expiration = DEFAULT_SAFETY_EXPIRATION;
private boolean m_enabled;
private double m_stopTime = Timer.getMonotonicTimestamp();
private final Object m_thisMutex = new Object();