From df2b1a4758500d3ac538b30fad2e5a48126ea4a0 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Thu, 5 May 2016 23:47:37 +0300 Subject: esp8266/scripts/: Remove use of pin.PULL_NONE. This constant is no longer part of hardware API (replaced with just None), and is a default, so not needed in calls. --- esp8266/scripts/onewire.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'esp8266/scripts/onewire.py') diff --git a/esp8266/scripts/onewire.py b/esp8266/scripts/onewire.py index 4980d0af5c..686616950a 100644 --- a/esp8266/scripts/onewire.py +++ b/esp8266/scripts/onewire.py @@ -13,7 +13,7 @@ class OneWire: def __init__(self, pin): self.pin = pin - self.pin.init(pin.OPEN_DRAIN, pin.PULL_NONE) + self.pin.init(pin.OPEN_DRAIN) def reset(self): return _ow.reset(self.pin) -- cgit v1.2.3