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

Lua: getFieldInfo using "Min" or "Max" always return min. #5292

Closed
1 task done
frankiearzu opened this issue Jul 13, 2024 · 2 comments · Fixed by #5293
Closed
1 task done

Lua: getFieldInfo using "Min" or "Max" always return min. #5292

frankiearzu opened this issue Jul 13, 2024 · 2 comments · Fixed by #5293
Labels
bug 🪲 Something isn't working triage Bug report awaiting review / sorting

Comments

@frankiearzu
Copy link
Contributor

frankiearzu commented Jul 13, 2024

Is there an existing issue for this problem?

  • I have searched the existing issues

What part of EdgeTX is the focus of this bug?

Transmitter firmware

Current Behavior

While using the Flights Widget, noticed that regardless if i choose MIN or MAX for the source, it reports "min" for MAX, and "--" for min.

Expected Behavior

Should properly report the source name.

Steps To Reproduce

  1. Setup the Flights widget.
  2. Choose MAX as the source for the ARM
  3. go to full screen to see the name of the source/switch (is showing "min", but should be "max")

Version

2.10.2

Transmitter

RadioMaster TX16S / TX16SMK2

Operating System (OS)

No response

OS Version

No response

Anything else?

image
image

@frankiearzu frankiearzu added bug 🪲 Something isn't working triage Bug report awaiting review / sorting labels Jul 13, 2024
@frankiearzu
Copy link
Contributor Author

The problem is here: Mistyped constant... (Ill do the PR to fix it).
image

@mha1
Copy link
Contributor

mha1 commented Jul 13, 2024

I blame copy/paste. Thanks for making this right. And obviously not the most used LUA constant. No complaints since 08/23.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working triage Bug report awaiting review / sorting
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants