[wpilibc] Add deprecated Doxygen attribute to SpeedController (#3691)

Fixes #3690.
This commit is contained in:
Tyler Veness
2021-10-29 00:01:04 -07:00
committed by GitHub
parent 35c9f66a75
commit c0cb545b41
3 changed files with 10 additions and 0 deletions

View File

@@ -11,6 +11,8 @@ namespace frc {
/**
* Interface for speed controlling devices.
*
* @deprecated Use MotorController.
*/
class WPI_DEPRECATED("use MotorController") SpeedController {
public:

View File

@@ -15,6 +15,11 @@
namespace frc {
/**
* Allows multiple SpeedController objects to be linked together.
*
* @deprecated Use MotorControllerGroup.
*/
class WPI_DEPRECATED("use MotorControllerGroup") SpeedControllerGroup
: public wpi::Sendable,
public MotorController,

View File

@@ -14,6 +14,9 @@
namespace frc {
/**
* Allows multiple MotorController objects to be linked together.
*/
class MotorControllerGroup : public wpi::Sendable,
public MotorController,
public wpi::SendableHelper<MotorControllerGroup> {