[hal] JNI setDIO: use a boolean and not a short (#3469)

This commit is contained in:
Thad House
2021-07-08 21:42:31 -07:00
committed by GitHub
parent 9d68d95825
commit 6ddef1cca6
3 changed files with 4 additions and 5 deletions

View File

@@ -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);