Commit 7d2c6855 authored by Damien George's avatar Damien George
Browse files

esp8266/scripts/_boot: Mount block device on "" instead of "/".

"" is the correct name of the root directory when mounting a device there
(as opposed to "/").  One can now do os.listdir('/') and open('/abc'), as
well as os.listdir() and open('abc').
parent 5c1af60e
......@@ -3,10 +3,10 @@ import builtins
from flashbdev import bdev
vfs = uos.VfsFat(bdev, "/")
vfs = uos.VfsFat(bdev, "")
except OSError:
import inisetup
vfs = uos.VfsFat(bdev, "/")
vfs = uos.VfsFat(bdev, "")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment