Give illusion of snappier busy flag

This commit is contained in:
connor rigby 2018-01-24 11:10:49 -08:00
parent bddf1294f0
commit dec778c085

View file

@ -413,6 +413,7 @@ defmodule Farmbot.Firmware do
defp handle_gcode(:done, state) do
maybe_cancel_timer(state.timer)
Farmbot.BotState.set_busy(false)
if state.current do
do_reply(state, :ok)
{nil, %{state | current: nil}}