mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 08:15:17 +03:00
tx16s aux fixes
This commit is contained in:
parent
0609cdb2d3
commit
318e4dd516
6 changed files with 45 additions and 9 deletions
|
@ -1634,9 +1634,9 @@ Reads characters from the serial port. The string is allowed to contain any char
|
|||
*/
|
||||
static int luaSerialRead(lua_State * L)
|
||||
{
|
||||
#if defined(LUA) && !defined(CLI)
|
||||
int num = luaL_optunsigned(L, 1, 0);
|
||||
|
||||
#if defined(LUA) && !defined(CLI)
|
||||
if (!luaRxFifo) {
|
||||
luaRxFifo = new Fifo<uint8_t, LUA_FIFO_SIZE>();
|
||||
if (!luaRxFifo) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue