From dc9f85ebb9ee724836409e07b49f6e439e62f154 Mon Sep 17 00:00:00 2001 From: sciencewhiz Date: Sun, 7 May 2017 17:10:52 -0700 Subject: [PATCH] Fix comment refering to old _val enum values (#524) --- wpilibj/src/athena/java/edu/wpi/first/wpilibj/Relay.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpilibj/src/athena/java/edu/wpi/first/wpilibj/Relay.java b/wpilibj/src/athena/java/edu/wpi/first/wpilibj/Relay.java index e3f5210646..4dc47cdc2b 100644 --- a/wpilibj/src/athena/java/edu/wpi/first/wpilibj/Relay.java +++ b/wpilibj/src/athena/java/edu/wpi/first/wpilibj/Relay.java @@ -173,7 +173,7 @@ public class Relay extends SensorBase implements MotorSafety, LiveWindowSendable * 0v-12v, 12v-12v * *

When set to kForwardOnly or kReverseOnly, you can specify the constant for the direction or - * you can simply specify kOff_val and kOn_val. Using only kOff_val and kOn_val is recommended. + * you can simply specify kOff and kOn. Using only kOff and kOn is recommended. * * @param value The state to set the relay. */