Add getphymode and setphymode to wifi module
This commit is contained in:
parent
7b8d2f449e
commit
efd2de6025
|
@ -172,7 +172,7 @@ static int wifi_setphymode( lua_State* L )
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Lua: realmode = getmode()
|
// Lua: wifi.getphymode()
|
||||||
static int wifi_getphymode( lua_State* L )
|
static int wifi_getphymode( lua_State* L )
|
||||||
{
|
{
|
||||||
unsigned mode;
|
unsigned mode;
|
||||||
|
|
Loading…
Reference in New Issue