[wpilib] Rename PeriodicOpMode constants to all caps

This commit is contained in:
Peter Johnson
2026-03-17 16:43:04 -07:00
parent 09be21c319
commit 38b9214e38
3 changed files with 5 additions and 5 deletions

View File

@@ -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);
}
/**