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

Fix overflowing subtraction when calculating DC cycle offset #229

Merged
merged 3 commits into from
Aug 6, 2024

Conversation

jamwaffles
Copy link
Collaborator

This was originally fixed by @jabratn in this commit on their fork. I hope you don't mind me taking the fix! I've added the Co-Authored-By header to give due credit.

Tested on my EK1100 setup which panics on overflow when on master, but doesn't on this branch (but still calculates the offset correctly).

@jamwaffles jamwaffles force-pushed the next-iter-overflow branch 2 times, most recently from fc5b70d to c9251c8 Compare August 6, 2024 14:47
@jamwaffles jamwaffles merged commit 9b347bf into master Aug 6, 2024
10 checks passed
@jamwaffles jamwaffles deleted the next-iter-overflow branch August 6, 2024 15:44
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.

1 participant