Rename serial2 to aux_serial

This commit is contained in:
Bertrand Songis
2019-06-04 16:57:35 +02:00
parent 0dbbfa1670
commit c9581630ff
30 changed files with 98 additions and 94 deletions
+2 -2
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