From b5411742559d24b380ff8efd118cec43c26d4b66 Mon Sep 17 00:00:00 2001 From: Ryan Blue Date: Fri, 4 Oct 2024 01:20:53 -0400 Subject: [PATCH] [wpilib] Alert: fix incorrect set docs (NFC) (#7163) Console printing was removed when Alerts were added to wpilib. --- wpilibc/src/main/native/include/frc/Alert.h | 5 ++--- wpilibj/src/main/java/edu/wpi/first/wpilibj/Alert.java | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/wpilibc/src/main/native/include/frc/Alert.h b/wpilibc/src/main/native/include/frc/Alert.h index 45dc4a66a2..dde95306e0 100644 --- a/wpilibc/src/main/native/include/frc/Alert.h +++ b/wpilibc/src/main/native/include/frc/Alert.h @@ -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. */ diff --git a/wpilibj/src/main/java/edu/wpi/first/wpilibj/Alert.java b/wpilibj/src/main/java/edu/wpi/first/wpilibj/Alert.java index 23327698ee..1e57a993c9 100644 --- a/wpilibj/src/main/java/edu/wpi/first/wpilibj/Alert.java +++ b/wpilibj/src/main/java/edu/wpi/first/wpilibj/Alert.java @@ -83,8 +83,8 @@ public class Alert { } /** - * 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. */