mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
[hal] Fix unfinished/incorrect GetCPUTemp functions (#5598)
This commit is contained in:
@@ -151,6 +151,14 @@ public class RoboRioDataJNI extends JNIWrapper {
|
||||
|
||||
public static native void setBrownoutVoltage(double brownoutVoltage);
|
||||
|
||||
public static native int registerCPUTempCallback(NotifyCallback callback, boolean initialNotify);
|
||||
|
||||
public static native void cancelCPUTempCallback(int uid);
|
||||
|
||||
public static native double getCPUTemp();
|
||||
|
||||
public static native void setCPUTemp(double cpuTemp);
|
||||
|
||||
public static native String getSerialNumber();
|
||||
|
||||
public static native void setSerialNumber(String serialNumber);
|
||||
|
||||
Reference in New Issue
Block a user