fixed typo on umount created its own entry, made mount example clearer (uses uos) as was confusing

This commit is contained in:
MattKBD
2020-03-27 11:05:49 +13:00
parent c11f76cf54
commit 4da991006a

View File

@@ -87,12 +87,16 @@ Alias for the `remove()` method.
Mounts a block device (like an SD object) in the specified mount point. Example:
```python
os.mount(sd, '/sd')
uos.unmount(path)
uos.mount(sd, '/sd')
```
Unmounts a previously mounted block device from the given path.
#### uos.umount(mount\_point)
Unmounts a previously mounted block device from the specified mount point. Example:
```python
uos.umount('/sd')
```
#### uos.mkfs(block\_device or path)