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

feat(radio) - Add 'repeat' option to 'Lua Script' special function. #3338

Merged
merged 4 commits into from
Apr 10, 2023

Conversation

philmoz
Copy link
Collaborator

@philmoz philmoz commented Mar 10, 2023

Fixes #3321

Adds the 'repeat' option to the 'Lua Script' special function.
The options are:

  • 'On' = current functionality where script runs repeatedly while SF switch is active.
  • '1x' = script is run only once for each activation the SF switch

Companion, Color and B&W radios supported.
Some minor layout adjustment needed for 128x64 B&W radios.

Screen Shot 2023-03-10 at 4 48 06 pm

Screen Shot 2023-03-10 at 4 47 32 pm

Screen Shot 2023-03-10 at 4 48 58 pm

@elecpower elecpower added enhancement ✨ New feature or request color Related generally to color LCD radios B&W Related generally to black and white LCD radios companion Related to the companion software labels Mar 22, 2023
@pfeerick pfeerick added this to the 2.9 milestone Mar 28, 2023
@pfeerick pfeerick self-assigned this Apr 7, 2023
@pfeerick pfeerick merged commit 227780d into EdgeTX:main Apr 10, 2023
@philmoz philmoz deleted the play-script-once branch October 18, 2023 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B&W Related generally to black and white LCD radios color Related generally to color LCD radios companion Related to the companion software enhancement ✨ New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Lua function script always runs twice on X9D+ works correctly in Companion
3 participants