1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-26 17:55:19 +03:00

All my comments from the PR fixed. Still missing the Companion part

This commit is contained in:
Bertrand Songis 2021-02-01 23:02:52 +01:00
parent f735360dc0
commit 72feef3911
No known key found for this signature in database
GPG key ID: F189F79290FEC50F
20 changed files with 40 additions and 34 deletions

View file

@ -135,7 +135,7 @@ static int luaModelGetModule(lua_State *L)
lua_pushtableinteger(L, "subType", module.subType);
lua_pushtableinteger(L, "modelId", g_model.header.modelId[idx]);
lua_pushtableinteger(L, "firstChannel", module.channelsStart);
lua_pushtableinteger(L, "channelsCount", module.channelsCount + 8);
lua_pushtableinteger(L, "channelsCount", module.getChannelsCount());
lua_pushtableinteger(L, "Type", module.type);
#if defined(MULTIMODULE)
if (module.type == MODULE_TYPE_MULTIMODULE) {