mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-26 01:51:41 +00:00
Remove most 2022 deprecations (#4205)
Excludes "old" commands and SimDevice functions.
This commit is contained in:
@@ -11,7 +11,6 @@
|
||||
#include <hal/Types.h>
|
||||
#include <units/math.h>
|
||||
#include <units/time.h>
|
||||
#include <wpi/deprecated.h>
|
||||
#include <wpi/priority_queue.h>
|
||||
|
||||
#include "frc/IterativeRobotBase.h"
|
||||
@@ -42,17 +41,6 @@ class TimedRobot : public IterativeRobotBase {
|
||||
*/
|
||||
void EndCompetition() override;
|
||||
|
||||
/**
|
||||
* Constructor for TimedRobot.
|
||||
*
|
||||
* @deprecated use unit safe constructor instead.
|
||||
* TimedRobot(units::second_t period = kDefaultPeriod)
|
||||
*
|
||||
* @param period Period in seconds.
|
||||
*/
|
||||
WPI_DEPRECATED("Use constructor with unit-safety instead.")
|
||||
explicit TimedRobot(double period);
|
||||
|
||||
/**
|
||||
* Constructor for TimedRobot.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user