mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
[hal] Add RobotController.getSerialNumber() (#4783)
This commit is contained in:
@@ -22,6 +22,8 @@ public final class HALUtil extends JNIWrapper {
|
||||
|
||||
public static native int getFPGARevision();
|
||||
|
||||
public static native String getSerialNumber();
|
||||
|
||||
public static native long getFPGATime();
|
||||
|
||||
public static native int getHALRuntimeType();
|
||||
|
||||
@@ -151,5 +151,9 @@ public class RoboRioDataJNI extends JNIWrapper {
|
||||
|
||||
public static native void setBrownoutVoltage(double brownoutVoltage);
|
||||
|
||||
public static native String getSerialNumber();
|
||||
|
||||
public static native void setSerialNumber(String serialNumber);
|
||||
|
||||
public static native void resetData();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user