From 55346e28d02b043770c76f7ec9f2aff82f845ceb Mon Sep 17 00:00:00 2001 From: Austin Shalit Date: Thu, 13 Oct 2016 15:41:36 -0400 Subject: [PATCH] DoubleSolenoid free reverse port handle instead of channel (#274) --- .../src/athena/java/edu/wpi/first/wpilibj/DoubleSolenoid.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpilibj/src/athena/java/edu/wpi/first/wpilibj/DoubleSolenoid.java b/wpilibj/src/athena/java/edu/wpi/first/wpilibj/DoubleSolenoid.java index 843dd9f038..820a59c1c1 100644 --- a/wpilibj/src/athena/java/edu/wpi/first/wpilibj/DoubleSolenoid.java +++ b/wpilibj/src/athena/java/edu/wpi/first/wpilibj/DoubleSolenoid.java @@ -97,7 +97,7 @@ public class DoubleSolenoid extends SolenoidBase implements LiveWindowSendable { */ public synchronized void free() { SolenoidJNI.freeSolenoidPort(m_forwardHandle); - SolenoidJNI.freeSolenoidPort(m_reverseChannel); + SolenoidJNI.freeSolenoidPort(m_reverseHandle); super.free(); }