summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266/modules/onewire.py
diff options
context:
space:
mode:
Diffstat (limited to 'esp8266/modules/onewire.py')
-rw-r--r--esp8266/modules/onewire.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/esp8266/modules/onewire.py b/esp8266/modules/onewire.py
index 06b216a57a..83318d1a47 100644
--- a/esp8266/modules/onewire.py
+++ b/esp8266/modules/onewire.py
@@ -1,6 +1,7 @@
# 1-Wire driver for MicroPython on ESP8266
# MIT license; Copyright (c) 2016 Damien P. George
+from micropython import const
import _onewire as _ow
class OneWireError(Exception):