Java PIDBase: Make setPIDSourceType and getPIDSourceType public (#1599)

Fixes #1596.
This commit is contained in:
Peter Johnson
2019-02-13 23:41:05 -08:00
committed by GitHub
parent 997d4fdf47
commit 74f7ba04b0

View File

@@ -667,7 +667,7 @@ public class PIDBase extends SendableBase implements PIDInterface, PIDOutput {
*
* @param pidSource the type of input
*/
void setPIDSourceType(PIDSourceType pidSource) {
public void setPIDSourceType(PIDSourceType pidSource) {
m_pidInput.setPIDSourceType(pidSource);
}
@@ -676,7 +676,7 @@ public class PIDBase extends SendableBase implements PIDInterface, PIDOutput {
*
* @return the PID controller input type
*/
PIDSourceType getPIDSourceType() {
public PIDSourceType getPIDSourceType() {
return m_pidInput.getPIDSourceType();
}