mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
Fixed naming convention of static variable in TimedRobot.java (#876)
This commit is contained in:
committed by
Peter Johnson
parent
d8c8643b52
commit
8d57b73b41
@@ -20,7 +20,7 @@ import edu.wpi.first.wpilibj.hal.NotifierJNI;
|
||||
* <p>periodic() functions from the base class are called on an interval by a Notifier instance.
|
||||
*/
|
||||
public class TimedRobot extends IterativeRobotBase {
|
||||
public static final double DEFAULT_PERIOD = 0.02;
|
||||
public static final double kDefaultPeriod = 0.02;
|
||||
|
||||
// Prevents loop from starting if user calls setPeriod() in robotInit()
|
||||
private boolean m_startLoop = false;
|
||||
@@ -32,7 +32,7 @@ public class TimedRobot extends IterativeRobotBase {
|
||||
// The absolute expiration time
|
||||
private double m_expirationTime = 0;
|
||||
|
||||
private double m_period = DEFAULT_PERIOD;
|
||||
private double m_period = kDefaultPeriod;
|
||||
|
||||
public TimedRobot() {
|
||||
// HAL.report(tResourceType.kResourceType_Framework, tInstances.kFramework_Periodic);
|
||||
|
||||
Reference in New Issue
Block a user