         report_calibration_callback(tries - 1, param, val)
     end
   end
+
+  def report_calibration_callback(0, _param, _value) do
+    :ok
+  end
 end

    {nil, state}
  end

  def report_calibration_callback(tries, param, value)

  def report_calibration_callback(0, _param, _value) do
    :ok
  end

  defp handle_gcode(:noop, state) do
    {nil, state}
  end

  end

  @doc false
  def report_calibration_callback(tries, param, value)

  def report_calibration_callback(tries, param, val) do
    case Farmbot.Firmware.update_param(param, val) do
      :ok ->
