Commit f338d31f authored by devsaurus's avatar devsaurus
Browse files

remove unused variable

parent b0d64463
...@@ -174,16 +174,15 @@ static int uart_setup( lua_State* L ) ...@@ -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] )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment