Skip to content

Commit

Permalink
Merge pull request #430 from FarmBot/staging
Browse files Browse the repository at this point in the history
6.1.2
  • Loading branch information
ConnorRigby authored Jan 29, 2018
2 parents 5aef4ae + a195bf1 commit 046dfd7
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 6.1.2
* Fix fw hardware being reset on os upgrade.
* Bump arduino-firmware version to 6.0.1

# 6.1.1
* Fix bug that caused the "update" button on the frontend to give an error log.
* Fix flashing `beta` channel updates.
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.1.1
6.1.2
2 changes: 1 addition & 1 deletion c_src/farmbot-arduino-firmware
2 changes: 1 addition & 1 deletion config/config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ config :farmbot, :behaviour,
config :farmbot, :farmware,
first_part_farmware_manifest_url: "https://raw.githubusercontent.com/FarmBot-Labs/farmware_manifests/master/manifest.json"

config :farmbot, expected_fw_versions: ["6.0.0.F", "6.0.0.R"]
config :farmbot, expected_fw_versions: ["6.0.1.F", "6.0.1.R"]

case target do
"host" ->
Expand Down
4 changes: 3 additions & 1 deletion nerves/target/update_handler.ex
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ defmodule Farmbot.Target.UpdateHandler do
end

def post_update do
Farmbot.Firmware.UartHandler.Update.maybe_update_firmware()
alias Farmbot.Firmware.UartHandler.Update
hw = Farmbot.System.ConfigStorage.get_config_value(:string, "settings", "firmware_hardware")
Update.maybe_update_firmware(hw)
:ok
end

Expand Down

0 comments on commit 046dfd7

Please sign in to comment.