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(radio): writing of .luac files can fail on some radios. #5716

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

philmoz
Copy link
Collaborator

@philmoz philmoz commented Dec 17, 2024

When generating the compiled .luac file for a script the file write may be done with a large number of very small writes to the SD card. For some reason this is failing on the GX12 with some scripts.

This PR buffers the data being written when a .luac file is generated and writes it in larger blocks to the SD card.
This is a workaround for the GX12 issue; but may also reduce the SD write overhead when creating .luac files.

Note: the underlying issue with the GX12 SD writing should still be investigated and fixed.

Fixes #5702

@philmoz philmoz added the enhancement ✨ New feature or request label Dec 17, 2024
@philmoz philmoz added this to the 2.11 milestone Dec 17, 2024
@3djc
Copy link
Collaborator

3djc commented Dec 17, 2024

I'm all for it, it is definitely an improvement for all radio to 'hammer' less the sdcard, but I need to emphasis it does not solve the yet unidentified root cause of #5702

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ✨ New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GX12 RF2TLM LUA Script Blows Up UI
2 participants