diff --git a/wpilibc/src/main/native/cpp/Compressor.cpp b/wpilibc/src/main/native/cpp/Compressor.cpp index 2479ffc1e39..1f6c906820f 100644 --- a/wpilibc/src/main/native/cpp/Compressor.cpp +++ b/wpilibc/src/main/native/cpp/Compressor.cpp @@ -34,10 +34,6 @@ Compressor::~Compressor() { } } -bool Compressor::Enabled() const { - return IsEnabled(); -} - bool Compressor::IsEnabled() const { return m_module->GetCompressor(); } diff --git a/wpilibc/src/main/native/include/frc/Compressor.h b/wpilibc/src/main/native/include/frc/Compressor.h index 2ccc3f3160f..ed1b3b986ce 100644 --- a/wpilibc/src/main/native/include/frc/Compressor.h +++ b/wpilibc/src/main/native/include/frc/Compressor.h @@ -57,19 +57,6 @@ class Compressor : public wpi::Sendable, Compressor(Compressor&&) = default; Compressor& operator=(Compressor&&) = default; - /** - * Check if compressor output is active. - * To (re)enable the compressor use EnableDigital() or EnableAnalog(...). - * - * @return true if the compressor is on. - * @deprecated To avoid confusion in thinking this (re)enables the compressor - * use IsEnabled(). - */ - [[deprecated( - "To avoid confusion in thinking this (re)enables the compressor use " - "IsEnabled()")]] - bool Enabled() const; - /** * Returns whether the compressor is active or not. * diff --git a/wpilibj/src/main/java/edu/wpi/first/wpilibj/Compressor.java b/wpilibj/src/main/java/edu/wpi/first/wpilibj/Compressor.java index e26bd62f307..f2cfeb39081 100644 --- a/wpilibj/src/main/java/edu/wpi/first/wpilibj/Compressor.java +++ b/wpilibj/src/main/java/edu/wpi/first/wpilibj/Compressor.java @@ -62,18 +62,6 @@ public void close() { m_module = null; } - /** - * Get the status of the compressor. To (re)enable the compressor use enableDigital() or - * enableAnalog(...). - * - * @return true if the compressor is on - * @deprecated To avoid confusion in thinking this (re)enables the compressor use IsEnabled(). - */ - @Deprecated(since = "2023", forRemoval = true) - public boolean enabled() { - return isEnabled(); - } - /** * Returns whether the compressor is active or not. *