mirror of
https://github.com/Doodle3D/doodle3d-firmware.git
synced 2024-12-22 11:03:48 +01:00
Modification for connecting state of printer.
This commit is contained in:
parent
9f50ec73b3
commit
4a76f022e0
@ -178,7 +178,7 @@ function M.status(request, response)
|
|||||||
rv, state = printerAPI.state(request, response)
|
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" and state ~= "connecting" then
|
||||||
rv = printerAPI.temperature(request, response)
|
rv = printerAPI.temperature(request, response)
|
||||||
if(rv == false) then return end
|
if(rv == false) then return end
|
||||||
rv = printerAPI.progress(request, response)
|
rv = printerAPI.progress(request, response)
|
||||||
|
Loading…
Reference in New Issue
Block a user