Fix stub handler set_pin_mode

This commit is contained in:
connor rigby 2017-11-13 10:21:11 -08:00
parent 0ae5cf927f
commit 40d33368e7

View file

@ -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