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

quad.lua kills timer-1 on edgetx 2.8 #4

Open
r0b985 opened this issue Feb 4, 2023 · 3 comments
Open

quad.lua kills timer-1 on edgetx 2.8 #4

r0b985 opened this issue Feb 4, 2023 · 3 comments

Comments

@r0b985
Copy link

r0b985 commented Feb 4, 2023

Since edgetx 2.8, quad.lua disables timer-1 on my x9 lite S radio. The timer can't be turned on while the lua is running and it disappears from the main screen (which sould be independant from the lua). To make the timer visible again I need to remove quad.lua from the telemetry screens in the display tab. Then it appears on the main screen again. So the lua seems to mess with edgetx 2.8 somehow.

@alexey-gamov
Copy link
Owner

alexey-gamov commented Feb 4, 2023

Hi! You can change timer ID in the end of settings section: telemetry = {satcount = 'Sats', timer = 1}.

I will try to repeat your situation on EdgeTX - may be problem is much deeper 😀

@r0b985
Copy link
Author

r0b985 commented Feb 4, 2023

Yes when I set up timer2 and change it accordingly in the lua, the issue remains the same. The timer on the main screen instead starts working again since it's using timer1 and doesn't mess with the lua anymore.

@alexey-gamov
Copy link
Owner

alexey-gamov commented Feb 5, 2023

Hmm. When you set up timer2 in lua script what problem is remaining?

I will be thankful if you shoot some video with commentary and sent to my telegram account @alexey_gamov!

Originally implementation is:

  • start fly timer in script if it's not defined in model, according to ARM state in script
  • if it exist in the model and set up for 0:00/1:30 = lua script only shows it's value with some animation

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

No branches or pull requests

2 participants