mirror of
https://github.com/opentx/opentx.git
synced 2025-07-15 20:35:17 +03:00
Rename serial2 to aux_serial
This commit is contained in:
parent
0dbbfa1670
commit
c9581630ff
30 changed files with 98 additions and 94 deletions
|
@ -1363,10 +1363,10 @@ static int luaSerialWrite(lua_State * L)
|
|||
}
|
||||
#endif
|
||||
#if defined(AUX_SERIAL)
|
||||
if (serial2Mode == UART_MODE_LUA) {
|
||||
if (auxSerialMode == UART_MODE_LUA) {
|
||||
size_t wr_len = len;
|
||||
const char* p = str;
|
||||
while(wr_len--) serial2Putc(*p++);
|
||||
while(wr_len--) auxSerialPutc(*p++);
|
||||
}
|
||||
#endif
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue