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 string writes to board info table #412

Merged
merged 1 commit into from
Dec 17, 2021

Conversation

klutvott123
Copy link
Member

@klutvott123 klutvott123 commented Dec 17, 2021

Forgot to wrap the strings with "" when writing them to file. This makes it fail on legacy targets where manufacturer id is an empty string.

Thanks @TheIsotopes for noticing and reporting this!

Test version
betaflight-tx-lua-scripts_1.5.0.zip

Fixes #411

@TheIsotopes
Copy link

Tested again, now everything works as expected.

thx @klutvott123

Copy link
Member

@SteveCEvans SteveCEvans left a comment

Choose a reason for hiding this comment

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

I'm no LUA expert, but this is simple to understand.

@haslinghuis haslinghuis merged commit 6f89338 into betaflight:master Dec 17, 2021
@klutvott123 klutvott123 deleted the fix-string-write-to-file branch January 17, 2022 14:39
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.

incomplete board information prevents further work
4 participants