mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-30 02:31:44 +00:00
[hal] Add Python wpistruct support for ControlWord (#9029)
Both C++ and Java already have Struct support for `ControlWord`.
This commit is contained in:
@@ -3,6 +3,7 @@ strip_prefixes:
|
||||
|
||||
extra_includes:
|
||||
- src/ds_types_fmt.h
|
||||
- wpystruct.h
|
||||
|
||||
enums:
|
||||
AllianceStationID:
|
||||
@@ -33,3 +34,6 @@ classes:
|
||||
IsUtility:
|
||||
IsUtilityEnabled:
|
||||
GetValue:
|
||||
|
||||
inline_code: |
|
||||
SetupWPyStruct<wpi::hal::ControlWord>(cls_ControlWord);
|
||||
|
||||
Reference in New Issue
Block a user