mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[hal, wpilib] Fix REV PH disabled solenoid list (#6887)
This commit is contained in:
@@ -249,8 +249,7 @@ public class PneumaticHub implements PneumaticsBase {
|
||||
|
||||
@Override
|
||||
public int getSolenoidDisabledList() {
|
||||
int raw = REVPHJNI.getStickyFaultsNative(m_handle);
|
||||
return raw & 0xFFFF;
|
||||
return REVPHJNI.getSolenoidDisabledList(m_handle);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user