AUX2 added
This commit is contained in:
3djc
2020-05-15 14:51:36 +02:00
committed by GitHub
parent 1cad34eb73
commit f0d8d340fd
32 changed files with 323 additions and 17 deletions
+7
View File
@@ -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