v9.2.2-rc20
parent
7407119942
commit
bfb4f21f54
|
@ -8,6 +8,9 @@
|
||||||
* Unit test additions (+2.7% coverage :tada:)
|
* Unit test additions (+2.7% coverage :tada:)
|
||||||
* Updates to build instructions for third party developers
|
* Updates to build instructions for third party developers
|
||||||
* Bug fix for criteria-based groups that have only one filter criteria.
|
* Bug fix for criteria-based groups that have only one filter criteria.
|
||||||
|
* Bug fix for express bots involving timeout during remote firmware flash
|
||||||
|
* Remove VCR again (for now)
|
||||||
|
* Increase farmware timeout to 20 minutes (use at own risk)
|
||||||
|
|
||||||
# 9.2.1
|
# 9.2.1
|
||||||
|
|
||||||
|
|
|
@ -324,9 +324,6 @@ defmodule FarmbotCore.Asset do
|
||||||
sorted = CriteriaRetriever.run(point_group)
|
sorted = CriteriaRetriever.run(point_group)
|
||||||
|> sort_points(sort_by || "xy_ascending")
|
|> sort_points(sort_by || "xy_ascending")
|
||||||
|> Enum.map(fn point -> point.id end)
|
|> Enum.map(fn point -> point.id end)
|
||||||
|
|
||||||
count = Enum.count(sorted)
|
|
||||||
Logger.debug("There are #{count} points. #{inspect(sorted)}")
|
|
||||||
%{ point_group | point_ids: sorted }
|
%{ point_group | point_ids: sorted }
|
||||||
other ->
|
other ->
|
||||||
# Swallow all other errors
|
# Swallow all other errors
|
||||||
|
|
|
@ -17,7 +17,6 @@ defmodule Avrdude do
|
||||||
|
|
||||||
_ = File.stat!(hex_path)
|
_ = File.stat!(hex_path)
|
||||||
|
|
||||||
# STEP 1: Is the UART in use?
|
|
||||||
args = [
|
args = [
|
||||||
"-patmega2560",
|
"-patmega2560",
|
||||||
"-cwiring",
|
"-cwiring",
|
||||||
|
@ -31,17 +30,6 @@ defmodule Avrdude do
|
||||||
|
|
||||||
FarmbotCore.Logger.info(3, "Writing firmware to MCU...")
|
FarmbotCore.Logger.info(3, "Writing firmware to MCU...")
|
||||||
|
|
||||||
FarmbotCore.Logger.debug(
|
|
||||||
1,
|
|
||||||
inspect(%{
|
|
||||||
args: args,
|
|
||||||
into: IO.stream(:stdio, :line),
|
|
||||||
stderr_to_stdout: true
|
|
||||||
})
|
|
||||||
)
|
|
||||||
|
|
||||||
FarmbotCore.Logger.info(3, "Writing firmware to MCU...")
|
|
||||||
|
|
||||||
call_reset_fun(reset_fun)
|
call_reset_fun(reset_fun)
|
||||||
|
|
||||||
result = MuonTrap.cmd("avrdude", args, stderr_to_stdout: true)
|
result = MuonTrap.cmd("avrdude", args, stderr_to_stdout: true)
|
||||||
|
|
Loading…
Reference in New Issue