Fix stub handler set_pin_mode
This commit is contained in:
parent
0ae5cf927f
commit
40d33368e7
|
@ -126,8 +126,8 @@ defmodule Farmbot.Firmware.StubHandler do
|
|||
{:reply, :ok, [{:report_pin_mode, pin, mode}, {:report_pin_value, pin, value}, :done], state}
|
||||
end
|
||||
|
||||
def handle_call({:set_pin_mode, _pin, _mode}, _from, state) do
|
||||
{:reply, :ok, [], state}
|
||||
def handle_call({:set_pin_mode, pin, mode}, _from, state) do
|
||||
{:reply, :ok, [{:report_pin_mode, pin, mode}, :done], state}
|
||||
end
|
||||
|
||||
def handle_call({:zero, axis}, _from, state) do
|
||||
|
|
Loading…
Reference in a new issue