mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
[docs] Fix brownout docs (NFC) (#3638)
This commit is contained in:
@@ -117,19 +117,19 @@ HAL_Bool HAL_GetUserActive3V3(int32_t* status);
|
||||
int32_t HAL_GetUserCurrentFaults3V3(int32_t* status);
|
||||
|
||||
/**
|
||||
* Get the current brownout voltage seting.
|
||||
*
|
||||
* Note that this only does anything on the roboRIO 2.
|
||||
* On the roboRIO it is a no-op.
|
||||
* Get the current brownout voltage setting.
|
||||
*
|
||||
* @return The brownout voltage
|
||||
*/
|
||||
double HAL_GetBrownoutVoltage(int32_t* status);
|
||||
|
||||
/**
|
||||
* Set the voltage the roborio will brownout and disable all outputs.
|
||||
* Set the voltage the roboRIO will brownout and disable all outputs.
|
||||
*
|
||||
* @param brownoutVoltage The brownout voltage
|
||||
* Note that this only does anything on the roboRIO 2.
|
||||
* On the roboRIO it is a no-op.
|
||||
*
|
||||
* @param voltage The brownout voltage
|
||||
*/
|
||||
void HAL_SetBrownoutVoltage(double voltage, int32_t* status);
|
||||
|
||||
|
||||
@@ -189,14 +189,14 @@ class RobotController {
|
||||
static int GetFaultCount6V();
|
||||
|
||||
/**
|
||||
* Get the current brownout voltage seting.
|
||||
* Get the current brownout voltage setting.
|
||||
*
|
||||
* @return The brownout voltage
|
||||
*/
|
||||
static units::volt_t GetBrownoutVoltage();
|
||||
|
||||
/**
|
||||
* Set the voltage the roborio will brownout and disable all outputs.
|
||||
* Set the voltage the roboRIO will brownout and disable all outputs.
|
||||
*
|
||||
* Note that this only does anything on the roboRIO 2.
|
||||
* On the roboRIO it is a no-op.
|
||||
|
||||
@@ -214,7 +214,7 @@ public final class RobotController {
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the current brownout voltage seting.
|
||||
* Get the current brownout voltage setting.
|
||||
*
|
||||
* @return The brownout voltage
|
||||
*/
|
||||
@@ -223,7 +223,7 @@ public final class RobotController {
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the voltage the roborio will brownout and disable all outputs.
|
||||
* Set the voltage the roboRIO will brownout and disable all outputs.
|
||||
*
|
||||
* <p>Note that this only does anything on the roboRIO 2. On the roboRIO it is a no-op.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user