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 getSources(<category>) #4823

Open
JimB40 opened this issue Dec 2, 2024 · 0 comments
Open

LUA getSources(<category>) #4823

JimB40 opened this issue Dec 2, 2024 · 0 comments
Labels

Comments

@JimB40
Copy link

JimB40 commented Dec 2, 2024

Function that returns cateegory members.
Mainly to check user model or radio configuration.

IE.
getSources(CATEGORY_LOGIC_SWITCH) will return table of all logic switches defined
getSources(CATEGORY_TELEMETRY_SENSOR) will return table of all telemetry sensors defined

not sure if this shoud be in model.* Module
rather system.* because
getSources(CATEGORY_SWITCH) will return all available switches

@mawzthefinn mawzthefinn added the lua label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants