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 environment status function, Enhancement request. #2947

Closed
rdeanchurch opened this issue Oct 6, 2015 · 0 comments
Closed

Lua environment status function, Enhancement request. #2947

rdeanchurch opened this issue Oct 6, 2015 · 0 comments

Comments

@rdeanchurch
Copy link

It would be helpful in finding bugs while developing a Lua script if Lua could determine its environment.
That is, is it operating a PC simulator or on an actual tx?
This would allow an if statement to decide if something needs to have a simulated value set....such as TxVoltage., SWR, RSSI,....

@projectkk2glider projectkk2glider added this to the OpenTX 2.1.X milestone Oct 8, 2015
projectkk2glider added a commit that referenced this issue Nov 13, 2015
Start of Lua API documentation that can be parsed with a custom script that generates gitbook documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants