mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 16:25:16 +03:00
parent
1cad34eb73
commit
f0d8d340fd
32 changed files with 323 additions and 17 deletions
|
@ -1601,6 +1601,13 @@ static int luaSerialWrite(lua_State * L)
|
|||
while(wr_len--) auxSerialPutc(*p++);
|
||||
}
|
||||
#endif
|
||||
#if defined(AUX2_SERIAL)
|
||||
if (aux2SerialMode == UART_MODE_LUA) {
|
||||
size_t wr_len = len;
|
||||
const char* p = str;
|
||||
while(wr_len--) aux2SerialPutc(*p++);
|
||||
}
|
||||
#endif
|
||||
#else
|
||||
debugPrintf("luaSerialWrite: %.*s",len,str);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue