Skip to content

Commit

Permalink
Fix JavaDoc Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
m10653 committed Dec 31, 2023
1 parent c73472b commit bc84282
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions hal/src/main/java/edu/wpi/first/hal/can/CANJNI.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
import java.nio.IntBuffer;

/**
* The CANJNI class provides Java Native Interface (JNI) methods for interfacing with the Controller
* Area Network (CAN) bus.
* CAN API HAL JNI Functions.
*
* @see "hal/CAN.h"
*/
@SuppressWarnings("MethodName")
public class CANJNI extends JNIWrapper {
Expand Down Expand Up @@ -82,7 +83,7 @@ public static native byte[] FRCNetCommCANSessionMuxReceiveMessage(
* @param messagesToRead The number of messages to read from the session.
* @throws CANStreamOverflowException If the number of messages to read exceeds the capacity of
* the provided messages array.
* @returns The number of messages read
* @return The number of messages read into the buffer
*/
public static native int readCANStreamSession(
int sessionHandle, CANStreamMessage[] messages, int messagesToRead)
Expand Down

0 comments on commit bc84282

Please sign in to comment.