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

Companion model logical switch and special function references to lua outputs not parsed correctly #4589

Closed
1 task done
elecpower opened this issue Jan 31, 2024 · 2 comments · Fixed by #4406
Closed
1 task done
Assignees
Labels
bug 🪲 Something isn't working companion Related to the companion software

Comments

@elecpower
Copy link
Collaborator

Is there an existing issue for this problem?

  • I have searched the existing issues

What part of EdgeTX is the focus of this bug?

Companion

Current Behavior

Provided lua is checked in radio profile, it is possible to configure logical switch sources as lua script outputs.
After saving the file, closing and reopening, lua references other than output 'a' are missing.

Expected Behavior

Model file should be parsed correctly

Steps To Reproduce

  1. ensure lua checked in radio profile
  2. create a new model
  3. add a new logical switch referencing lua sources
  4. save the settings and close the file
  5. reopen the file
  6. references missing where not output 'a'

Version

2.9.3

Transmitter

Other (Please specify below)

Operating System (OS)

Linux, Windows

OS Version

Ubuntu 20.04, Win 10

Anything else?

As set
lsluaset

As reloaded
lsluareloaded

Model yaml
Screenshot from 2024-01-31 16-46-02

@elecpower elecpower added bug 🪲 Something isn't working companion Related to the companion software labels Jan 31, 2024
@elecpower elecpower self-assigned this Jan 31, 2024
@elecpower
Copy link
Collaborator Author

Expected to be fixed in v2.10

@elecpower elecpower changed the title Companion model logical switch references to lua outputs not parsed correctly Companion model logical switch and special function references to lua outputs not parsed correctly Jan 31, 2024
@elecpower
Copy link
Collaborator Author

Issue also applies to Special Functions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working companion Related to the companion software
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant