Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[hal] Add CanApitypes to java (Feature Parity) #6121

Merged
merged 5 commits into from
Jan 2, 2024

Conversation

m10653
Copy link
Contributor

@m10653 m10653 commented Dec 31, 2023

Adds the CanApitypes to Java, and updates a few magic values to use the enum.

@m10653 m10653 requested review from a team as code owners December 31, 2023 18:36
Comment on lines +25 to +26
public static final int kTeamManufacturer = CANAPITypes.CANManufacturer.kTeamUse.id;
public static final int kTeamDeviceType = CANAPITypes.CANDeviceType.kMiscellaneous.id;
Copy link
Contributor Author

@m10653 m10653 Dec 31, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kTeamManufacturer and kTeamDeviceType seem a bit redundant now but I did not want to remove or change them as that would/could break api compatibility.

@m10653 m10653 changed the title Add CanApitypes to java (Feature Parity) [hal] Add CanApitypes to java (Feature Parity) Jan 1, 2024
@PeterJohnson PeterJohnson merged commit 8a0bf2b into wpilibsuite:main Jan 2, 2024
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants