remove unused variable
This commit is contained in:
parent
b0d6446327
commit
f338d31f05
|
@ -174,16 +174,15 @@ static int uart_setup( lua_State* L )
|
||||||
|
|
||||||
static int uart_setmode(lua_State* L)
|
static int uart_setmode(lua_State* L)
|
||||||
{
|
{
|
||||||
unsigned id, mode;
|
unsigned id, mode;
|
||||||
uint32_t res;
|
|
||||||
|
|
||||||
id = luaL_checkinteger( L, 1 );
|
id = luaL_checkinteger( L, 1 );
|
||||||
MOD_CHECK_ID( uart, id );
|
MOD_CHECK_ID( uart, id );
|
||||||
mode = luaL_checkinteger( L, 2 );
|
mode = luaL_checkinteger( L, 2 );
|
||||||
|
|
||||||
platform_uart_setmode(id, mode);
|
platform_uart_setmode(id, mode);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Lua: write( id, string1, [string2], ..., [stringn] )
|
// Lua: write( id, string1, [string2], ..., [stringn] )
|
||||||
|
|
Loading…
Reference in New Issue