Fix compiler error.

This commit is contained in:
Connor Rigby 2017-12-09 13:57:27 -08:00
parent 8c43489363
commit e4d9847118

View file

@ -27,13 +27,13 @@ defmodule Farmbot.CeleryScript.AST.Node.MoveAbsolute do
end
end
defp maybe_log_busy do
defp maybe_log_busy(pos) do
unless Farmbot.System.ConfigStorage.get_config_value(:bool, "settings", "firmware_input_log") do
Logger.busy 2, "Moving to (#{pos.x}, #{pos.y}, #{pos.z})"
end
end
defp maybe_log_complete do
defp maybe_log_complete(pos) do
unless Farmbot.System.ConfigStorage.get_config_value(:bool, "settings", "firmware_input_log") do
Logger.success 2, "Movement to (#{pos.x}, #{pos.y}, #{pos.z}) complete."
end