mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-03 03:01:44 +00:00
[hal,wpilib] Update documentation for getComments (NFC) (#4879)
This commit is contained in:
@@ -77,14 +77,18 @@ int64_t HAL_GetFPGARevision(int32_t* status);
|
||||
/**
|
||||
* Returns the serial number.
|
||||
*
|
||||
* @return Serial number.
|
||||
* @param[out] buffer The serial number.
|
||||
* @param size The maximum characters to copy into buffer.
|
||||
* @return Number of characters copied into buffer.
|
||||
*/
|
||||
size_t HAL_GetSerialNumber(char* buffer, size_t size);
|
||||
|
||||
/**
|
||||
* Returns the comments from the roboRIO web interface.
|
||||
*
|
||||
* @return Comments.
|
||||
* @param[out] buffer The comments string.
|
||||
* @param size The maximum characters to copy into buffer.
|
||||
* @return Number of characters copied into buffer.
|
||||
*/
|
||||
size_t HAL_GetComments(char* buffer, size_t size);
|
||||
|
||||
|
||||
@@ -54,6 +54,10 @@ class RobotController {
|
||||
/**
|
||||
* Return the comments from the roboRIO web interface.
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
static std::string GetComments();
|
||||
|
||||
@@ -48,6 +48,9 @@ public final class RobotController {
|
||||
/**
|
||||
* 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() {
|
||||
|
||||
Reference in New Issue
Block a user