0
0
mirror of https://github.com/Doodle3D/doodle3d-firmware.git synced 2024-12-22 02:53:49 +01:00

api/info/status cleanup

This commit is contained in:
peteruithoven 2014-02-28 10:44:02 +01:00
parent 9f50ec73b3
commit c0a3747d00

View File

@ -171,11 +171,7 @@ end
function M.status(request, response)
local ds = wifi.getDeviceState()
log:debug(" ssid: "..utils.dump(ds.ssid))
local rv
rv, state = printerAPI.state(request, response)
local rv, state = printerAPI.state(request, response)
if(rv == false) then return end
if(state ~= "disconnected") then