Skip to content

Commit

Permalink
[docs] Add RadioLEDState docs for consistency with java
Browse files Browse the repository at this point in the history
  • Loading branch information
rzblue committed Oct 3, 2024
1 parent f82e1c9 commit e347770
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion wpilibc/src/main/native/include/frc/RobotController.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,13 @@ struct CANStatus {
int transmitErrorCount;
};

enum RadioLEDState { kOff = 0, kGreen = 1, kRed = 2, kOrange = 3 };
/** State for the radio led. */
enum RadioLEDState {
kOff = 0, /// Off.
kGreen = 1, /// Green.
kRed = 2, /// Red.
kOrange = 3 /// Orange.
};

class RobotController {
public:
Expand Down

0 comments on commit e347770

Please sign in to comment.