summaryrefslogtreecommitdiffstatshomepage
path: root/drivers/sdcard/sdcard.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-11-03 12:41:11 +1100
committerDamien George <damien.p.george@gmail.com>2016-11-03 12:41:11 +1100
commit7bb0f7b0f6218e813ca1ea9a21d5d549c7b36ab9 (patch)
tree4adf5c1a592d003b84aa9706aa0fced9f41442ed /drivers/sdcard/sdcard.py
parent561844f3ba2dc81ce37c58468099042e27cd422b (diff)
downloadmicropython-7bb0f7b0f6218e813ca1ea9a21d5d549c7b36ab9.tar.gz
micropython-7bb0f7b0f6218e813ca1ea9a21d5d549c7b36ab9.zip
drivers: Add "from micropython import const" when const is used.
Following best-practice use of the const feature, to make it compatible with Python.
Diffstat (limited to 'drivers/sdcard/sdcard.py')
-rw-r--r--drivers/sdcard/sdcard.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/sdcard/sdcard.py b/drivers/sdcard/sdcard.py
index fc7a8af7c5..191630aebd 100644
--- a/drivers/sdcard/sdcard.py
+++ b/drivers/sdcard/sdcard.py
@@ -21,6 +21,7 @@ Example usage on ESP8266:
"""
+from micropython import const
import time