mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
Add support for writing RTR CAN Frames to the CAN API (#1900)
This commit is contained in:
committed by
Peter Johnson
parent
9f740e5905
commit
cb54602d49
@@ -18,6 +18,8 @@ public class CANAPIJNI extends JNIWrapper {
|
||||
public static native void writeCANPacketRepeating(int handle, byte[] data, int apiId,
|
||||
int repeatMs);
|
||||
|
||||
public static native void writeCANRTRFrame(int handle, int length, int apiId);
|
||||
|
||||
public static native void stopCANPacketRepeating(int handle, int apiId);
|
||||
|
||||
public static native boolean readCANPacketNew(int handle, int apiId, CANData data);
|
||||
|
||||
Reference in New Issue
Block a user