[wpilib] Update MotorControllerGroup deprecation message (#6171)

The current message could be read as encouraging the use of CAN motor
controllers. This tries to make it more clear.
This commit is contained in:
sciencewhiz
2024-01-07 17:06:26 -08:00
committed by GitHub
parent fa63fbf446
commit b1b03bed85
2 changed files with 4 additions and 4 deletions

View File

@@ -21,8 +21,8 @@ namespace frc {
* Allows multiple MotorController objects to be linked together.
*/
class [[deprecated(
"Use CAN motor controller followers or "
"PWMMotorController::AddFollower()")]] MotorControllerGroup
"Use PWMMotorController::AddFollower() or if using CAN motor controllers,"
"use their method of following.")]] MotorControllerGroup
: public wpi::Sendable,
public MotorController,
public wpi::SendableHelper<MotorControllerGroup> {