mirror of
https://github.com/opentx/opentx.git
synced 2025-07-18 05:45:21 +03:00
Damjan and Kilrah remarks taken into account
This commit is contained in:
parent
9ed37ab21b
commit
bda87be10e
3 changed files with 14 additions and 12 deletions
|
@ -638,7 +638,7 @@ static int luaModelSetModule(lua_State *L)
|
|||
module.rfProtocol = luaL_checkinteger(L, -1);
|
||||
}
|
||||
else if (!strcmp(key, "modelId")) {
|
||||
g_model.header.modelId[idx] = luaL_checkinteger(L, -1);
|
||||
g_model.header.modelId[idx] = modelHeaders[g_eeGeneral.currModel].modelId[idx] = luaL_checkinteger(L, -1);
|
||||
}
|
||||
else if (!strcmp(key, "firstChannel")) {
|
||||
module.channelsStart = luaL_checkinteger(L, -1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue