Skip to content

Commit

Permalink
[docs] Alert: fix incorrect set docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rzblue committed Oct 4, 2024
1 parent dced751 commit 8aab1e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions wpilibc/src/main/native/include/frc/Alert.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,8 @@ class Alert {
Alert(std::string_view group, std::string_view text, AlertType type);

/**
* Sets whether the alert should currently be displayed. When activated, the
* alert text will also be sent to the console. This method can be safely
* called periodically.
* Sets whether the alert should currently be displayed. This method can be
* safely called periodically.
*
* @param active Whether to display the alert.
*/
Expand Down
4 changes: 2 additions & 2 deletions wpilibj/src/main/java/edu/wpi/first/wpilibj/Alert.java
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ public Alert(String group, String text, AlertType type) {
}

/**
* Sets whether the alert should currently be displayed. When activated, the alert text will also
* be sent to the console. This method can be safely called periodically.
* Sets whether the alert should currently be displayed. This method can be safely called
* periodically.
*
* @param active Whether to display the alert.
*/
Expand Down

0 comments on commit 8aab1e0

Please sign in to comment.