summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorNicko van Someren <nicko@nicko.org>2019-06-16 11:57:54 -0600
committerDamien George <damien.p.george@gmail.com>2019-06-17 12:36:22 +1000
commit1a51fc9ddf889c6a81e0156e6d438e4228479874 (patch)
treebdf6b17d36367c4f95966045e07d6c0c0ad8db4d /docs
parent637aa9784dc96301cfa5c4ccdd0ab1ae7bad5744 (diff)
esp32/machine_sdcard: Fix bug in SPI slot number selection.
And fix minor typo in docs when referring to SDCard class.
Diffstat (limited to 'docs')
-rw-r--r--docs/library/machine.SDCard.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/library/machine.SDCard.rst b/docs/library/machine.SDCard.rst
index 34bb2e48b..8398624c1 100644
--- a/docs/library/machine.SDCard.rst
+++ b/docs/library/machine.SDCard.rst
@@ -30,7 +30,7 @@ vary from platform to platform.
The class implements the block protocol defined by :class:`uos.AbstractBlockDev`.
This allows the mounting of an SD card to be as simple as::
- uos.mount(storage.SDCard(), "/sd")
+ uos.mount(machine.SDCard(), "/sd")
The constrcutor takes the following paramters: