Skip to content

TX16S MK3 Lua fixes - #1186

Open
wiilover22 wants to merge 2 commits into
pascallanger:masterfrom
wiilover22:master
Open

TX16S MK3 Lua fixes#1186
wiilover22 wants to merge 2 commits into
pascallanger:masterfrom
wiilover22:master

Conversation

@wiilover22

Copy link
Copy Markdown

Small set of fixes for the slightly larger screen on a MK3.

I've tested these on my TX16S MK3 running EdgeTX v2.12.2. All scripts now run without error, and display properly on an MK3.

I do not have other TX's, so I cannot test if my changes have broke other things.

I apologize if I've done any of this incorrectly...first time trying a pull request =P

Small set of fixes for the slightly larger screen on a MK3.
@pascallanger

Copy link
Copy Markdown
Owner

I'm guessing all the values you've changed are ok for the bigger screens of the MK3 but will break the smaller color ones MK1 and 2. May be define them as a variable and change the value based on the screen size?

@wiilover22

Copy link
Copy Markdown
Author

I will see what I can do. I'll look at the DSM-tools script, and perhaps try using a variant of that solution.

Hopefully this doesn't break something I'm unaware of...

Set a switch to check for color LCD, then check for LCD size for all scripts.

Made all the UI elements a bit more uniform across the different scripts.

I also removed two unused variables in `Graupner Hott.lua`.
@wiilover22

Copy link
Copy Markdown
Author

Well, here's attempt number 2. I'm a little out of my depth here...but trying my best =x Hopefully this works on other devices, as I've only been able to test these scripts on my MK3.

@pascallanger

Copy link
Copy Markdown
Owner

I have a MK2 so I can test tomorrow too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants