mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-27 02:01:42 +00:00
Fix many errorprone warnings (#1247)
This fixes two real bugs: - TimedRobot had a m_period that was hiding the IterativeRobotBase m_period and was not getting initialized. - PDPSim was swapping two parameters to getCurrent()
This commit is contained in:
@@ -52,9 +52,6 @@ class TimedRobot : public IterativeRobotBase, public ErrorBase {
|
||||
// The absolute expiration time
|
||||
double m_expirationTime = 0;
|
||||
|
||||
// The relative time
|
||||
double m_period;
|
||||
|
||||
/**
|
||||
* Update the HAL alarm time.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user