mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
[wpilibj] Fix EncoderSim.setDistancePerPulse parameter name and comment (NFC) (#6481)
This commit is contained in:
@@ -329,10 +329,10 @@ public class EncoderSim {
|
||||
/**
|
||||
* Set the distance per pulse value.
|
||||
*
|
||||
* @param samplesToAverage the new value
|
||||
* @param distancePerPulse the new distancePerPulse
|
||||
*/
|
||||
public void setDistancePerPulse(double samplesToAverage) {
|
||||
EncoderDataJNI.setDistancePerPulse(m_index, samplesToAverage);
|
||||
public void setDistancePerPulse(double distancePerPulse) {
|
||||
EncoderDataJNI.setDistancePerPulse(m_index, distancePerPulse);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user