mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[wpilib] Rename MotorSafety constants to all caps
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user