Remove home_on_boot from FarmbotFirmware

This feature is now encompased in the new Boot Sequence feature
feature/sequence-on-boot
connor rigby 2019-10-07 09:59:57 -07:00 committed by Connor Rigby
parent 9b9091d5e2
commit 10f3fddb9a
No known key found for this signature in database
GPG Key ID: 29A88B24B70456E0
1 changed files with 0 additions and 15 deletions

View File

@ -562,21 +562,6 @@ defmodule FarmbotFirmware do
{:parameter_read_all, []}
]
to_process =
if loaded_params[:movement_home_at_boot_z] == 1,
do: to_process ++ [{:command_movement_find_home, [:z]}],
else: to_process
to_process =
if loaded_params[:movement_home_at_boot_y] == 1,
do: to_process ++ [{:command_movement_find_home, [:y]}],
else: to_process
to_process =
if loaded_params[:movement_home_at_boot_x] == 1,
do: to_process ++ [{:command_movement_find_home, [:x]}],
else: to_process
send(self(), :timeout)
{:noreply, goto(%{state | tag: tag, configuration_queue: to_process}, :configuration)}
end