From 697e2dd33058272de7a9162899057fb0e5723a8b Mon Sep 17 00:00:00 2001 From: sciencewhiz Date: Wed, 8 Sep 2021 14:18:37 -0700 Subject: [PATCH] [wpilib] Fix errant jaguar reference in comments (NFC) (#3550) --- wpilibc/src/main/native/include/frc/PWM.h | 8 ++++---- wpilibj/src/main/java/edu/wpi/first/wpilibj/PWM.java | 7 ++++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/wpilibc/src/main/native/include/frc/PWM.h b/wpilibc/src/main/native/include/frc/PWM.h index cde5cdc2a6..c468a0d59f 100644 --- a/wpilibc/src/main/native/include/frc/PWM.h +++ b/wpilibc/src/main/native/include/frc/PWM.h @@ -166,10 +166,10 @@ class PWM : public wpi::Sendable, public wpi::SendableHelper { /** * Optionally eliminate the deadband from a speed controller. * - * @param eliminateDeadband If true, set the motor curve on the Jaguar to - * eliminate the deadband in the middle of the range. - * Otherwise, keep the full range without modifying - * any values. + * @param eliminateDeadband If true, set the motor curve on the speed + * controller to eliminate the deadband in the middle + * of the range. Otherwise, keep the full range + * without modifying any values. */ void EnableDeadbandElimination(bool eliminateDeadband); diff --git a/wpilibj/src/main/java/edu/wpi/first/wpilibj/PWM.java b/wpilibj/src/main/java/edu/wpi/first/wpilibj/PWM.java index f594d39fd5..deec606880 100644 --- a/wpilibj/src/main/java/edu/wpi/first/wpilibj/PWM.java +++ b/wpilibj/src/main/java/edu/wpi/first/wpilibj/PWM.java @@ -90,8 +90,9 @@ public class PWM implements Sendable, AutoCloseable { /** * Optionally eliminate the deadband from a speed controller. * - * @param eliminateDeadband If true, set the motor curve on the Jaguar to eliminate the deadband - * in the middle of the range. Otherwise, keep the full range without modifying any values. + * @param eliminateDeadband If true, set the motor curve for the speed controller to eliminate the + * deadband in the middle of the range. Otherwise, keep the full range without modifying any + * values. */ public void enableDeadbandElimination(boolean eliminateDeadband) { PWMJNI.setPWMEliminateDeadband(m_handle, eliminateDeadband); @@ -114,7 +115,7 @@ public class PWM implements Sendable, AutoCloseable { } /** - * Gets the bounds on the PWM pulse widths. This Gets the bounds on the PWM values for a + * Gets the bounds on the PWM pulse widths. This gets the bounds on the PWM values for a * particular type of controller. The values determine the upper and lower speeds as well as the * deadband bracket. *