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

Check for min attribute #460

Merged
merged 1 commit into from
Nov 14, 2022
Merged

Conversation

klutvott123
Copy link
Member

There's no guarantee that the min attribute exists for all field. vtx protocol doesn't have it. Added a check for this before comparing to avoid comparing to nil and crashing.

@klutvott123 klutvott123 added this to the 1.7 milestone Nov 14, 2022
@klutvott123 klutvott123 self-assigned this Nov 14, 2022
@haslinghuis haslinghuis merged commit 10954d4 into betaflight:master Nov 14, 2022
@klutvott123 klutvott123 deleted the min-check branch November 17, 2022 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants