mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[wpilib] Rename PeriodicOpMode constants to all caps
This commit is contained in:
@@ -88,7 +88,7 @@ public abstract class PeriodicOpMode implements OpMode {
|
||||
}
|
||||
|
||||
/** Default loop period. */
|
||||
public static final double kDefaultPeriod = 0.02;
|
||||
public static final double DEFAULT_PERIOD = 0.02;
|
||||
|
||||
// The C pointer to the notifier object. We don't use it directly, it is
|
||||
// just passed to the JNI bindings.
|
||||
@@ -111,7 +111,7 @@ public abstract class PeriodicOpMode implements OpMode {
|
||||
* no-argument constructor uses a default period of 20 ms.
|
||||
*/
|
||||
protected PeriodicOpMode() {
|
||||
this(kDefaultPeriod);
|
||||
this(DEFAULT_PERIOD);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user