Merge "Fix Java Joystick.getPOV()."

This commit is contained in:
Thomas Clark (WPI)
2014-10-19 14:41:50 -07:00
committed by Gerrit Code Review

View File

@@ -285,7 +285,7 @@ public class Joystick extends GenericHID {
* @return the angle of the POV in degrees, or -1 if the POV is not pressed.
*/
public int getPOV(int pov) {
return m_ds.getStickPOV(m_port, pov - 1);
return m_ds.getStickPOV(m_port, pov);
}
/**