[docs] Add missing docs to enum fields (NFC) (#6150)

Co-authored-by: Tyler Veness <calcmogul@gmail.com>
This commit is contained in:
m10653
2024-01-05 00:36:26 -05:00
committed by GitHub
parent 4210f5635d
commit 13f4460e00
49 changed files with 665 additions and 26 deletions

View File

@@ -22,9 +22,31 @@ namespace frc {
*/
class DriverStation final {
public:
enum Alliance { kRed, kBlue };
enum MatchType { kNone, kPractice, kQualification, kElimination };
/**
* The robot alliance that the robot is a part of.
*/
enum Alliance {
/// Red alliance.
kRed,
/// Blue alliance.
kBlue
};
/**
* The type of robot match that the robot is part of.
*/
enum MatchType {
/// None.
kNone,
/// Practice.
kPractice,
/// Qualification.
kQualification,
/// Elimination.
kElimination
};
/// Number of Joystick ports.
static constexpr int kJoystickPorts = 6;
/**