:none pullup mode again

qa/estop_fix
Rick Carlino 2020-04-08 19:05:14 -05:00
parent ebc371c4d0
commit 6e674d0e31
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
9.2.2-rc5
9.2.2-rc6

View File

@ -25,7 +25,7 @@ defmodule FarmbotOS.Platform.Target.PinBindingWorker.CircuitsGPIOHandler do
:ok = GPIO.set_interrupts(pin, :rising)
# this has been checked on v1.3 and v1.5 hardware and it seems to be fine.
# but that was with `:pulldown`.
:ok = GPIO.set_pull_mode(pin, :pullup)
:ok = GPIO.set_pull_mode(pin, :none)
result = %{pin_number: pin_number, pin: pin, fun: fun, debounce: nil}
str = "*** " <> inspect(result)
FarmbotCore.Logger.info(1, str)