mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-26 01:51:41 +00:00
DoubleSolenoid free reverse port handle instead of channel (#274)
This commit is contained in:
committed by
Peter Johnson
parent
49b8c4ba78
commit
55346e28d0
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user