Fix ntp timer bad return val

This commit is contained in:
Connor Rigby 2017-12-07 17:43:39 -08:00
parent d4fd8b2c10
commit c027d84d62

View file

@ -93,7 +93,7 @@ defmodule Farmbot.Target.Network.Manager do
def handle_info(:ntp_timer, state) do
new_timer = maybe_cancel_and_reset_ntp_timer(state.ntp_timer)
{:ok, %{state | ntp_timer: new_timer}}
{:noreply, %{state | ntp_timer: new_timer}}
end
def handle_info(_event, state) do