diff --git a/wpilibc/src/main/native/include/frc/motorcontrol/MotorControllerGroup.h b/wpilibc/src/main/native/include/frc/motorcontrol/MotorControllerGroup.h index 6ecfe99e24a..6500fb3e2f0 100644 --- a/wpilibc/src/main/native/include/frc/motorcontrol/MotorControllerGroup.h +++ b/wpilibc/src/main/native/include/frc/motorcontrol/MotorControllerGroup.h @@ -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 { diff --git a/wpilibj/src/main/java/edu/wpi/first/wpilibj/motorcontrol/MotorControllerGroup.java b/wpilibj/src/main/java/edu/wpi/first/wpilibj/motorcontrol/MotorControllerGroup.java index a499c3960d4..c56496cd480 100644 --- a/wpilibj/src/main/java/edu/wpi/first/wpilibj/motorcontrol/MotorControllerGroup.java +++ b/wpilibj/src/main/java/edu/wpi/first/wpilibj/motorcontrol/MotorControllerGroup.java @@ -12,8 +12,8 @@ /** * Allows multiple {@link MotorController} objects to be linked together. * - * @deprecated Use CAN motor controller followers or {@link - * PWMMotorController#addFollower(PWMMotorController)}. + * @deprecated Use {@link PWMMotorController#addFollower(PWMMotorController)} or if using CAN motor + * controllers, use their method of following. */ @SuppressWarnings("removal") @Deprecated(forRemoval = true, since = "2024")