[wpilib] Rename DriverStation::IsOperatorControl() to IsTeleop() (#3505)

This commit is contained in:
Tyler Veness
2021-08-11 23:04:43 -07:00
committed by GitHub
parent e80f09f849
commit 25f6f478a5
12 changed files with 162 additions and 18 deletions

View File

@@ -4,6 +4,8 @@
#pragma once
#include <wpi/deprecated.h>
namespace frc {
class RobotState {
@@ -13,7 +15,9 @@ class RobotState {
static bool IsDisabled();
static bool IsEnabled();
static bool IsEStopped();
WPI_DEPRECATED("Use IsTeleop() instead")
static bool IsOperatorControl();
static bool IsTeleop();
static bool IsAutonomous();
static bool IsTest();
};