mirror of
https://github.com/Doodle3D/doodle3d-firmware.git
synced 2024-12-22 11:03:48 +01:00
api/info/status cleanup
This commit is contained in:
parent
9f50ec73b3
commit
c0a3747d00
@ -171,11 +171,7 @@ end
|
|||||||
|
|
||||||
function M.status(request, response)
|
function M.status(request, response)
|
||||||
|
|
||||||
local ds = wifi.getDeviceState()
|
local rv, state = printerAPI.state(request, response)
|
||||||
log:debug(" ssid: "..utils.dump(ds.ssid))
|
|
||||||
|
|
||||||
local rv
|
|
||||||
rv, state = printerAPI.state(request, response)
|
|
||||||
if(rv == false) then return end
|
if(rv == false) then return end
|
||||||
|
|
||||||
if(state ~= "disconnected") then
|
if(state ~= "disconnected") then
|
||||||
|
Loading…
Reference in New Issue
Block a user