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

Protect against negative frequency and voltage values #326

Merged
merged 1 commit into from
Sep 28, 2024

Conversation

eandersson
Copy link
Collaborator

@eandersson eandersson commented Sep 6, 2024

Testing the new freq code I tried to input some silly values, e.g. -1 and it caused frequency to ramp up endlessly (potentially bricking the device) due to an int underflow.

@WantClue WantClue added enhancement New feature or request accepted This issue will be worked on labels Sep 6, 2024
@skot
Copy link
Owner

skot commented Sep 28, 2024

LGTM, thanks.

@skot skot merged commit 04e8a51 into skot:master Sep 28, 2024
1 check passed
@eandersson eandersson deleted the sanity_check branch October 9, 2024 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted This issue will be worked on enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants