mirror of
https://github.com/opentx/opentx.git
synced 2025-07-17 13:25:20 +03:00
Warning removed
This commit is contained in:
parent
84bb693a53
commit
92479949a9
1 changed files with 2 additions and 0 deletions
|
@ -1608,7 +1608,9 @@ Set baudrate for serial port(s) affected to LUA
|
|||
*/
|
||||
static int luaSetSerialBaudrate(lua_State * L)
|
||||
{
|
||||
#if defined(AUX_SERIAL) || defined(AUX2_SERIAL)
|
||||
unsigned int baudrate = luaL_checkunsigned(L, 1);
|
||||
#endif
|
||||
|
||||
#if defined(AUX_SERIAL)
|
||||
if (auxSerialMode == UART_MODE_LUA) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue