mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
[wpilib] Don't print PD errors for LiveWindow reads (#3708)
If something happens with the PD connection, these would have spammed messages continuously. This wasn't the case previously, and we don't want this behavior now.
This commit is contained in:
@@ -46,4 +46,14 @@ public class PowerDistributionJNI extends JNIWrapper {
|
||||
public static native boolean getSwitchableChannel(int handle);
|
||||
|
||||
public static native void setSwitchableChannel(int handle, boolean enabled);
|
||||
|
||||
public static native double getVoltageNoError(int handle);
|
||||
|
||||
public static native double getChannelCurrentNoError(int handle, int channel);
|
||||
|
||||
public static native double getTotalCurrentNoError(int handle);
|
||||
|
||||
public static native boolean getSwitchableChannelNoError(int handle);
|
||||
|
||||
public static native void setSwitchableChannelNoError(int handle, boolean enabled);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user