esp32/machine_sdcard: Fix bug in SPI slot number selection.

And fix minor typo in docs when referring to SDCard class.
This commit is contained in:
Nicko van Someren
2019-06-16 11:57:54 -06:00
committed by Damien George
parent 637aa9784d
commit 1a51fc9ddf
2 changed files with 1 additions and 2 deletions

View File

@@ -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: