Skip to content

Commit

Permalink
Add missing getSerialNumber method to RobotController
Browse files Browse the repository at this point in the history
  • Loading branch information
jwbonner committed Dec 11, 2022
1 parent 5e6785b commit 6c4a4dd
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,15 @@ public static long getFPGARevision() {
return (long) HALUtil.getFPGARevision();
}

/**
* Return the serial number of the roboRIO.
*
* @return The serial number of the roboRIO.
*/
public static String getSerialNumber() {
return HALUtil.getSerialNumber();
}

/**
* Read the microsecond timer from the FPGA.
*
Expand Down

0 comments on commit 6c4a4dd

Please sign in to comment.