aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/sdcard/sdcard.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/sdcard/sdcard.py b/drivers/sdcard/sdcard.py
index 719eb982e..8f28b476e 100644
--- a/drivers/sdcard/sdcard.py
+++ b/drivers/sdcard/sdcard.py
@@ -15,9 +15,8 @@ Example usage on ESP8266:
import machine, sdcard, os
sd = sdcard.SDCard(machine.SPI(1), machine.Pin(15))
- os.umount()
- os.VfsFat(sd, "")
- os.listdir()
+ os.mount(sd, '/sd')
+ os.listdir('/')
"""