Commit b382a420 authored by dnc40085's avatar dnc40085 Committed by Arnim Läuger
Browse files

Fix debug message for wifi.sta.getrssi() (#1814)

parent 0349c1e0
...@@ -1168,7 +1168,7 @@ static int wifi_station_status( lua_State* L ) ...@@ -1168,7 +1168,7 @@ static int wifi_station_status( lua_State* L )
// Lua: wifi.sta.getrssi() // Lua: wifi.sta.getrssi()
static int wifi_station_getrssi( lua_State* L ){ static int wifi_station_getrssi( lua_State* L ){
sint8 rssival=wifi_station_get_rssi(); sint8 rssival=wifi_station_get_rssi();
NODE_DBG("\n\tRSSI is %i\n", rssival); NODE_DBG("\n\tRSSI is %d\n", rssival);
if (rssival<10) if (rssival<10)
{ {
lua_pushinteger(L, rssival); lua_pushinteger(L, rssival);
......
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