Hopefully fix ephemeral `maintenance` mode

pull/699/head
connor rigby 2019-03-06 09:26:50 -08:00 committed by Connor Rigby
parent fa203629c3
commit fb587e4d1c
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ defmodule Farmbot.Firmware.UartHandler do
UartHandler.Update.force_update_firmware(val)
open_tty(state.tty, state.nerves)
Farmbot.BotState.reset_sync_status()
Farmbot.BotState.set_sync_status(:sync_now)
%{state | hw: val, config_busy: true}
else # if BotState not alive
# This happens when you select a fw, then go back and select a different one