mirror of
https://github.com/opentx/opentx.git
synced 2025-07-25 17:25:13 +03:00
bug: Default value was not added for input type VALUE
This commit is contained in:
parent
fbbe7e9cc6
commit
55d8a0ac8c
1 changed files with 1 additions and 1 deletions
|
@ -1125,7 +1125,7 @@ void luaTask(uint8_t evt)
|
|||
__luaGetValue((uint8_t)sd.inputs[j]);
|
||||
//lua_pushinteger(L, (uint8_t)sd.inputs[j]);
|
||||
else
|
||||
lua_pushinteger(L, sd.inputs[j]);
|
||||
lua_pushinteger(L, sd.inputs[j] + sid.inputs[j].def);
|
||||
}
|
||||
if (lua_pcall(L, sid.inputsCount, sid.outputsCount, 0) == 0) {
|
||||
for (int j=sid.outputsCount-1; j>=0; j--) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue