diff --git a/apps/iot/src/iot_host_device_poller.erl b/apps/iot/src/iot_host_device_poller.erl index 1996550..43c9834 100644 --- a/apps/iot/src/iot_host_device_poller.erl +++ b/apps/iot/src/iot_host_device_poller.erl @@ -136,7 +136,7 @@ handle_info({timeout, _, task_ticker}, State = #state{host_id = HostId, host_pid {noreply, State#state{tasks = []}} end; -handle_info(next_task, State = #state{devices = Devices, status = Status, tasks = []}) -> +handle_info({timeout, _, task_ticker}, State = #state{devices = Devices, status = Status, tasks = []}) -> case Status of ?STATUS_BOOTING -> case length(Devices) > 0 of