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

Lua documentation update

This commit is contained in:
Damjan Adamic 2017-02-11 19:08:55 +01:00
parent a53db11e1a
commit be61e07939

View file

@ -86,6 +86,12 @@ static int luaModelSetInfo(lua_State *L)
Get RF module parameters
`rfProtocol` values:
* -1 OFF
* 0 D16
* 1 D8
* 2 LR12
@param index (number) module index (0 for internal, 1 for external)
@retval nil requested module does not exist
@ -93,7 +99,7 @@ Get RF module parameters
@retval table module parameters:
* `rfProtocol` (number) protocol index
* `modelId` (number) receiver number
* `firstChannel` (number) start channel (0 is CH1)
* `firstChannel` (number) start channel (0 is CH1)
* `channelsCount` (number) number of channels sent to module
@status current Introduced in TODO
@ -118,7 +124,7 @@ static int luaModelGetModule(lua_State *L)
/*luadoc
@function model.setModule(index, value)
Set RF module parameters
Set RF module parameters
@param index (number) module index (0 for internal, 1 for external)