From 6deea2785d850ecdedd7d5159eb33ac0caf9da99 Mon Sep 17 00:00:00 2001 From: Rick Carlino Date: Mon, 18 May 2020 13:32:02 -0500 Subject: [PATCH] Fix a bug where FBOS would not honor an "AUTO UPDATE" value of "false". --- CHANGELOG.md | 1 + VERSION | 2 +- farmbot_os/platform/target/nerves_hub_client.ex | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a2ea081a..dcdb1cef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ * Deprecate `resource_update` RPC * Introduce `update_resource` RPC, which allows users to modify variables from the sequence editor. * Genesis v1.5 and Express v1.0 firmware updates. + * Fix a bug where FBOS would not honor an "AUTO UPDATE" value of "false". # 9.2.2 diff --git a/VERSION b/VERSION index 4c9486ae..969ebd0e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -10.0.0-rc43 +10.0.0-rc44 diff --git a/farmbot_os/platform/target/nerves_hub_client.ex b/farmbot_os/platform/target/nerves_hub_client.ex index 153889c5..f381c2b4 100644 --- a/farmbot_os/platform/target/nerves_hub_client.ex +++ b/farmbot_os/platform/target/nerves_hub_client.ex @@ -542,7 +542,7 @@ defmodule FarmbotOS.Platform.Target.NervesHubClient do "ota_hour = #{ota_hour || "null"} timezone = #{timezone || "null"}" ) - true + !!auto_update end result && !currently_downloading?()