Skip to content

Commit

Permalink
Add "getComments" method to WPILib shim
Browse files Browse the repository at this point in the history
  • Loading branch information
jwbonner committed Jan 4, 2023
1 parent 32d2c60 commit f80d553
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,20 @@ public static String getSerialNumber() {
return HALUtil.getSerialNumber();
}

/**
* Return the comments from the roboRIO web interface.
*
* <p>
* The comments string is cached after the first call to this function on the
* RoboRIO - restart the robot code to reload the comments string after changing
* it in the web interface.
*
* @return the comments from the roboRIO web interface.
*/
public static String getComments() {
return HALUtil.getComments();
}

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

0 comments on commit f80d553

Please sign in to comment.