mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-05 03:21:42 +00:00
[hal] Fix controldataproto SupportsOpModes (#8476)
It wasn't updated, so DS was always assumed to be NI DS
This commit is contained in:
@@ -84,8 +84,8 @@ struct ControlFlags {
|
||||
uint32_t DsConnected : 1 = 0;
|
||||
uint32_t WatchdogActive : 1 = 0;
|
||||
uint32_t SupportsOpModes : 1 = 0;
|
||||
uint32_t Alliance : 6 = 0;
|
||||
uint32_t Reserved : 18 = 0;
|
||||
uint32_t Alliance : 4 = 0;
|
||||
uint32_t Reserved : 20 = 0;
|
||||
|
||||
constexpr bool operator==(const ControlFlags& Other) const {
|
||||
return Enabled == Other.Enabled && RobotMode == Other.RobotMode &&
|
||||
|
||||
Reference in New Issue
Block a user