[wpilib] Deprecate setNetworkTablesFlushEnabled (#6940)

The function no longer flushes to network like it did originally, and users generally would not want to disable flushing locally.
This commit is contained in:
Ryan Blue
2024-08-11 02:27:09 -04:00
committed by GitHub
parent d4dd2f8028
commit 0a15049faa
2 changed files with 4 additions and 0 deletions

View File

@@ -253,7 +253,9 @@ public abstract class IterativeRobotBase extends RobotBase {
* Enables or disables flushing NetworkTables every loop iteration. By default, this is enabled.
*
* @param enabled True to enable, false to disable
* @deprecated Deprecated without replacement.
*/
@Deprecated(forRemoval = true, since = "2025")
public void setNetworkTablesFlushEnabled(boolean enabled) {
m_ntFlushEnabled = enabled;
}