summaryrefslogtreecommitdiff
path: root/docs/library/machine.SDCard.rst
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2024-02-02 13:51:18 +1100
committerDamien George <damien@micropython.org>2024-02-07 13:25:10 +1100
commit4c56b39051b4a992d8691aa504cd2e76b958bf26 (patch)
tree9bd5e19a08626bf26c222c3e093e65916ce147b0 /docs/library/machine.SDCard.rst
parent7d28789544e4e35d8c931b41765dd64a53c506f1 (diff)
docs: Use vfs module instead of os.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'docs/library/machine.SDCard.rst')
-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 4faa7a555..e4bb25dfc 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:`vfs.AbstractBlockDev`.
This allows the mounting of an SD card to be as simple as::
- os.mount(machine.SDCard(), "/sd")
+ vfs.mount(machine.SDCard(), "/sd")
The constructor takes the following parameters: