-
-
Notifications
You must be signed in to change notification settings - Fork 145
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
VTX memory savings #284
VTX memory savings #284
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good... Just missing a matching change in the updatePowerTable
function as well.
3e9d67d
to
1ed2aa6
Compare
@frozenskys Done! |
@klutvott123 looks good - did you see @mikeller's comments on betaflight/betaflight-configurator#1822 ? What does everyone think? |
Have vtx_defaults return it's tables to vtx instead of loading them as globals.
1ed2aa6
to
f2d46e3
Compare
@frozenskys I just moved |
@klutvott123 looks spot on.. Thanks for your help on this... |
Have vtx_defaults.lua/modelname.lua return their tables to vtx.lua instead of using globals. This prevents the tables that are specific only to vtx.lua to be loaded all the time. Should save between 1 and 2k of memory when the vtx page is not selected.