Give illusion of snappier busy flag
This commit is contained in:
parent
bddf1294f0
commit
dec778c085
|
@ -413,6 +413,7 @@ defmodule Farmbot.Firmware do
|
||||||
|
|
||||||
defp handle_gcode(:done, state) do
|
defp handle_gcode(:done, state) do
|
||||||
maybe_cancel_timer(state.timer)
|
maybe_cancel_timer(state.timer)
|
||||||
|
Farmbot.BotState.set_busy(false)
|
||||||
if state.current do
|
if state.current do
|
||||||
do_reply(state, :ok)
|
do_reply(state, :ok)
|
||||||
{nil, %{state | current: nil}}
|
{nil, %{state | current: nil}}
|
||||||
|
|
Loading…
Reference in a new issue