mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
[hal] JNI setDIO: use a boolean and not a short (#3469)
This commit is contained in:
@@ -14,8 +14,7 @@ public class DIOJNI extends JNIWrapper {
|
||||
|
||||
public static native void setDIOSimDevice(int handle, int device);
|
||||
|
||||
// TODO(Thad): Switch this to use boolean
|
||||
public static native void setDIO(int dioPortHandle, short value);
|
||||
public static native void setDIO(int dioPortHandle, boolean value);
|
||||
|
||||
public static native void setDIODirection(int dioPortHandle, boolean input);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user