[wpilib] Fix outdated DifferentialDrive docs (#6249)

They accidentally got reverted when undeprecating MotorController in the
review process for #6053.
This commit is contained in:
Tyler Veness
2024-01-19 20:34:58 -08:00
committed by GitHub
parent 370126db38
commit 9227d09960
2 changed files with 6 additions and 5 deletions

View File

@@ -95,9 +95,9 @@ public class DifferentialDrive extends RobotDriveBase implements Sendable, AutoC
/**
* Construct a DifferentialDrive.
*
* <p>To pass multiple motors per side, use a {@link
* edu.wpi.first.wpilibj.motorcontrol.MotorControllerGroup}. If a motor needs to be inverted, do
* so before passing it in.
* <p>To pass multiple motors per side, use CAN motor controller followers or {@link
* edu.wpi.first.wpilibj.motorcontrol.PWMMotorController#addFollower(PWMMotorController)}. If a
* motor needs to be inverted, do so before passing it in.
*
* @param leftMotor Left motor.
* @param rightMotor Right motor.