1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-17 13:25:20 +03:00

Warning removed

This commit is contained in:
Bertrand Songis 2021-01-24 22:25:33 +01:00
parent 84bb693a53
commit 92479949a9
No known key found for this signature in database
GPG key ID: F189F79290FEC50F

View file

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