[hal] Fix controldataproto SupportsOpModes (#8476)

It wasn't updated, so DS was always assumed to be NI DS
This commit is contained in:
Thad House
2025-12-13 16:07:23 -08:00
committed by GitHub
parent ea71bdfba6
commit bcb5c5c16c
2 changed files with 15 additions and 11 deletions

View File

@@ -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 &&