mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
[wpilibc] Add doxygen deprecated tag to deprecated methods (#2336)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2017-2019 FIRST. All Rights Reserved. */
|
||||
/* Copyright (c) 2017-2020 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
@@ -47,6 +47,9 @@ class TimedRobot : public IterativeRobotBase, public ErrorBase {
|
||||
/**
|
||||
* 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.")
|
||||
|
||||
Reference in New Issue
Block a user