make getControlMode public. Was public in 2014.

Change-Id: I158f41e66407d47c50e3d632661a040c8cd68d14
This commit is contained in:
Joe Ross
2014-10-21 19:54:42 -07:00
committed by Brad Miller
parent f108853e1b
commit 261b1857cd
2 changed files with 4 additions and 4 deletions

View File

@@ -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;
}