1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-15 20:35:17 +03:00

Fixes #5266: Lua docs updated: radio type has different names for the various radios in 2.2.0

This commit is contained in:
Damjan Adamic 2017-10-31 18:04:21 +01:00
parent c63ad89a8c
commit b153cdec93

View file

@ -56,13 +56,13 @@ Return OpenTX version
@retval multiple (available since 2.1.7) returns 5 values:
* (string) OpenTX version (ie "2.1.5")
* (string) radio version: `x9e`, `x9d+` or `x9d`.
* (string) radio type: `x12s`, `x10`, `x9e`, `x9d+`, `x9d` or `x7`.
If running in simulator the "-simu" is added
* (number) major version (ie 2 if version 2.1.5)
* (number) minor version (ie 1 if version 2.1.5)
* (number) revision number (ie 5 if version 2.1.5)
@status current Introduced in 2.0.0, expanded in 2.1.7
@status current Introduced in 2.0.0, expanded in 2.1.7, radio type strings changed in 2.2.0
### Example