1
0
Fork 0
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:
Bertrand Songis 2019-06-04 16:57:35 +02:00
parent 0dbbfa1670
commit c9581630ff
No known key found for this signature in database
GPG key ID: F189F79290FEC50F
30 changed files with 98 additions and 94 deletions

View file

@ -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