mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
make getControlMode public. Was public in 2014.
Change-Id: I158f41e66407d47c50e3d632661a040c8cd68d14
This commit is contained in:
@@ -54,7 +54,7 @@ public class CANJaguar implements MotorSafety, PIDOutput, SpeedController, LiveW
|
||||
/**
|
||||
* Mode determines how the Jaguar is controlled, used internally.
|
||||
*/
|
||||
private enum ControlMode {
|
||||
public enum ControlMode {
|
||||
PercentVbus, Current, Speed, Position, Voltage;
|
||||
}
|
||||
|
||||
@@ -1377,7 +1377,7 @@ public class CANJaguar implements MotorSafety, PIDOutput, SpeedController, LiveW
|
||||
*
|
||||
* @return ControlMode that the Jag is in.
|
||||
*/
|
||||
private ControlMode getControlMode() {
|
||||
public ControlMode getControlMode() {
|
||||
return m_controlMode;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user