Remove home_on_boot from FarmbotFirmware
This feature is now encompased in the new Boot Sequence featurefeature/sequence-on-boot
parent
9b9091d5e2
commit
10f3fddb9a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue