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] Fix interrupt edges being flipped in sim #6720

Merged
merged 2 commits into from
Jul 17, 2024

Conversation

Gold856
Copy link
Contributor

@Gold856 Gold856 commented Jun 9, 2024

Fixes #6440, fixes #6515. Replaces #6688.

@Gold856 Gold856 requested review from a team as code owners June 9, 2024 03:24
Copy link
Contributor

@KangarooKoala KangarooKoala left a comment

Choose a reason for hiding this comment

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

For some reason, C++ tests have a 20 millisecond wait between enabling the interrupt and setting the value, while the Java tests have a 10 millisecond (0.01 second) wait. It's probably fine, but it'd be nice if they were the same.

wpilibc/src/test/native/cpp/InterruptTest.cpp Outdated Show resolved Hide resolved
@Gold856 Gold856 force-pushed the sim-interrupt-fix branch from 466b3fb to 1a9a8cd Compare June 9, 2024 19:39
@Gold856 Gold856 force-pushed the sim-interrupt-fix branch 2 times, most recently from de62a75 to 71ea41b Compare June 22, 2024 04:06
@Gold856 Gold856 force-pushed the sim-interrupt-fix branch from 71ea41b to fa0f249 Compare June 29, 2024 19:07
@Gold856 Gold856 force-pushed the sim-interrupt-fix branch from fa0f249 to 8340720 Compare July 8, 2024 23:27
@Gold856 Gold856 force-pushed the sim-interrupt-fix branch from 8340720 to f7d0601 Compare July 12, 2024 19:35
@PeterJohnson PeterJohnson requested a review from ThadHouse July 13, 2024 14:53
@PeterJohnson PeterJohnson merged commit e5b7cf4 into wpilibsuite:main Jul 17, 2024
33 checks passed
@Gold856 Gold856 deleted the sim-interrupt-fix branch July 17, 2024 05:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants