From 6e674d0e3103504e98b4c9d392b447677d6aac40 Mon Sep 17 00:00:00 2001 From: Rick Carlino Date: Wed, 8 Apr 2020 19:05:14 -0500 Subject: [PATCH] :none pullup mode again --- VERSION | 2 +- farmbot_os/platform/target/gpio/circuits_gpio_handler.ex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 9b1292d8..0bbd88ac 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -9.2.2-rc5 +9.2.2-rc6 diff --git a/farmbot_os/platform/target/gpio/circuits_gpio_handler.ex b/farmbot_os/platform/target/gpio/circuits_gpio_handler.ex index a4d96038..aeaea7ae 100644 --- a/farmbot_os/platform/target/gpio/circuits_gpio_handler.ex +++ b/farmbot_os/platform/target/gpio/circuits_gpio_handler.ex @@ -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)